yggdrasil/ports/llvm/install.sh

12 lines
182 B
Bash
Executable File

#!/bin/sh
set -e
build_dir=$3
cd $build_dir
cmake --build . -t install -j >/dev/null
ln -sf clang $Y_SYSROOT/bin/cc
ln -sf clang++ $Y_SYSROOT/bin/cxx
ln -sf lld $Y_SYSROOT/bin/ld