mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-18 16:06:30 +08:00
11 lines
252 B
Bash
11 lines
252 B
Bash
#!/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=Rel -DLLVM_ENABLE_ASSERTIONS=ON
|
|
make -j2
|
|
make install
|