Skip to content

Commit

Permalink
add LLVM_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
Sy0307 committed Mar 1, 2025
1 parent 7af049d commit c5dcefc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,20 @@ jobs:
libelf1 libelf-dev zlib1g-dev make git libboost1.74-all-dev \
binutils-dev libyaml-cpp-dev gcc-12 g++-12 llvm-17 clang-17
- name: verify llvm-17 installation
- name: verify llvm-17 installation
run: llvm-config-17 --version

- name: clear cmake cache
- name: clear cmake cache
run: rm -rf build

- name: build runtime
run: cmake -Bbuild -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
run: cmake -Bbuild \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_BPFTIME_DAEMON=1 \
-DCMAKE_C_COMPILER=/usr/lib/llvm-17/bin/clang-17 \
-DCMAKE_CXX_COMPILER=/usr/lib/llvm-17/bin/clang++-17 \
-DLLVM_CONFIG=/usr/lib/llvm-17/bin/llvm-config-17
-DCMAKE_C_COMPILER=/usr/lib/llvm-17/bin/clang-17 \
-DCMAKE_CXX_COMPILER=/usr/lib/llvm-17/bin/clang++-17 \
-DLLVM_CONFIG=/usr/lib/llvm-17/bin/llvm-config-17 \
-DLLVM_DIR=/usr/lib/llvm-17

- name: build benchmarks
run: make -C benchmark
Expand Down

0 comments on commit c5dcefc

Please sign in to comment.