Skip to content

Commit b27bff4

Browse files
committed
feat: Add multi-platform CI and release workflows and remove duplicate executable definition in CMake.
1 parent f1a9830 commit b27bff4

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545
cmake -S . -B build \
4646
-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
4747
-DBUILD_TESTS=OFF \
48-
-DBUILD_BENCH=OFF
48+
-DBUILD_BENCH=OFF \
49+
-DCMAKE_PREFIX_PATH="C:/Program Files/LLVM"
4950
5051
- name: Build (verbose)
5152
shell: bash

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Configure CMake
5454
shell: bash
5555
run: |
56-
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
56+
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="C:/Program Files/LLVM"
5757
5858
- name: Build
5959
shell: bash

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ target_link_libraries(ir_gen_test PRIVATE proxpl_lib)
6363

6464
# --- LLVM Gen Test Executable ---
6565
add_executable(llvm_gen_test tools/llvm_gen_test.c)
66-
add_executable(llvm_gen_test tools/llvm_gen_test.c)
66+
6767
target_link_libraries(llvm_gen_test PRIVATE proxpl_lib ${llvm_libs})
6868

6969
# --- PRM Executable ---

0 commit comments

Comments
 (0)