Skip to content

Commit

Permalink
Fix building problem
Browse files Browse the repository at this point in the history
  • Loading branch information
bluesadi committed Dec 28, 2023
1 parent 0c6658b commit 43a162e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 0 additions & 8 deletions CMakeLists.txt

This file was deleted.

8 changes: 6 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
mkdir -p build
cmake -G Ninja -S . -B build \
cmake -G Ninja -S llvm -B build \
-DLLVM_ENABLE_PROJECTS="clang;lld" \
-DLLVM_TARGETS_TO_BUILD="X86" \
-DLLVM_ENABLE_LLD=ON \
-DLLVM_INCLUDE_BENCHMARKS=OFF \
-DCMAKE_C_COMPILER="gcc" \
-DCMAKE_CXX_COMPILER="g++" \
-DCMAKE_INSTALL_PREFIX="install" \
-DCMAKE_BUILD_TYPE=Release
ninja -j`nproc` -C build install
ninja -j`nproc` -C build

0 comments on commit 43a162e

Please sign in to comment.