Skip to content

Commit

Permalink
trying to fix actions build
Browse files Browse the repository at this point in the history
  • Loading branch information
f0xeri committed Feb 21, 2024
1 parent 164ea34 commit d47a581
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DLLVM_ROOT="/lib/llvm-18"

- name: Build
# Build your program with the given configuration
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if(CMAKE_BUILD_TYPE MATCHES "Debug")
#set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(LLVM_DIR "D:\\llvm17debug\\lib\\cmake\\llvm")
#set(LLVM_DIR "C:\\llvm-18-debug\\lib\\cmake\\llvm")
find_package(LLVM "18.0.0...<19.0.0" REQUIRED CONFIG)
find_package(LLVM REQUIRED CONFIG)
message(${LLVM_INCLUDE_DIRS})
endif()
#RELEASE
Expand All @@ -25,7 +25,7 @@ if(CMAKE_BUILD_TYPE MATCHES "Release")
set(CMAKE_BUILD_TYPE Release)
set(LLVM_DIR "D:\\Program Files (x86)\\LLVM\\lib\\cmake\\llvm")
#set(LLVM_DIR "C:\\llvm-18-release\\lib\\cmake\\llvm")
find_package(LLVM "18.0.0...<19.0.0" REQUIRED CONFIG)
find_package(LLVM REQUIRED CONFIG)
message(${LLVM_INCLUDE_DIRS})
#add_definitions(-DDEBUG=0)
endif()
Expand Down

0 comments on commit d47a581

Please sign in to comment.