2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

llvm: Build with amdgpu

This commit is contained in:
Dylan Araps 2019-06-27 17:18:20 +03:00
parent c3a3c2ff3d
commit c6c20843ea
2 changed files with 5 additions and 4 deletions

View File

@ -8,9 +8,9 @@ cmake \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_TARGETS_TO_BUILD="host;X86" \
-DLLVM_TARGETS_TO_BUILD="host;X86;amdgpu" \
-DLLVM_ENABLE_RTTI=ON \
-Wno-dev -G Ninja ..
-Wno-dev -G "Unix Makefiles" ..
ninja
DESTDIR="$1" ninja install
make -j "$(nproc || echo 2)"
make DESTDIR="$1" install

View File

@ -1,2 +1,3 @@
cmake make
python make
zlib make