Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various fixes for compilation on Linux #54

Merged
merged 1 commit into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ endif()
option(GAP_ENABLE_MLIR "Enable MLIR support" OFF)

if (${GAP_ENABLE_MLIR})
find_package(LLVM REQUIRED CONFIG)
find_package(MLIR REQUIRED CONFIG)
list(APPEND CMAKE_MODULE_PATH "${MLIR_CMAKE_DIR}")
include(AddMLIR)
Expand Down
1 change: 1 addition & 0 deletions core/include/gap/core/dense_map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#pragma once

#include <gap/core/concepts.hpp>
#include <algorithm>
#include <utility>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions mlir/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ add_gap_static_library(gap-mlir
"${GAP_MLIR_SOURCES}"
SYSTEM_INCLUDE_DIRECTORIES
"${MLIR_INCLUDE_DIRS}"
"${LLVM_INCLUDE_DIRS}"
LINK_LIBRARIES
MLIRIR
MLIRSupport
Expand Down
5 changes: 3 additions & 2 deletions test/coro/recursive_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@

#ifdef GAP_ENABLE_COROUTINES

#include <doctest/doctest.h>
#include <gap/coro/recursive_generator.hpp>
#include <cstdint>
#include <doctest/doctest.h>
#include <gap/coro/recursive_generator.hpp>

namespace gap::test
{
Expand Down
Loading