diff --git a/conda/llvmdev-or1k/build.sh b/conda/llvmdev-or1k/build.sh new file mode 100644 index 000000000..9310d567d --- /dev/null +++ b/conda/llvmdev-or1k/build.sh @@ -0,0 +1,10 @@ +#!/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