conda: add missing build.sh for llvmdev-or1k pkg

This commit is contained in:
Yann Sionneau 2015-08-10 12:00:10 +02:00
parent af230f6cf3
commit 393576fc01
1 changed files with 10 additions and 0 deletions

View File

@ -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