Skip to content

Commit

Permalink
Various fixes for compilation on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ekilmer authored and xlauko committed Oct 12, 2024
1 parent a7ceecc commit 7946f97
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
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

0 comments on commit 7946f97

Please sign in to comment.