forked from M-Labs/artiq
1
0
Fork 0
artiq/conda/llvmdev-or1k/build.sh

11 lines
226 B
Bash
Raw Normal View History

#!/bin/bash
cd tools
git clone https://github.com/openrisc/clang-or1k clang
cd ..
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX -DLLVM_TARGETS_TO_BUILD="OR1K;X86" -DCMAKE_BUILD_TYPE=Debug
make -j2
make install