Fix paths in llvm and rust recipes

This commit is contained in:
Jeremy Soller 2022-11-10 16:14:04 -07:00
parent d7ce4d4d65
commit 0173c3555d
No known key found for this signature in database
GPG Key ID: 87F211AF2BE4C2FE
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ COOKBOOK_CONFIGURE_FLAGS=(
-DCMAKE_INSTALL_INCLUDEDIR="include"
-DCMAKE_INSTALL_OLDINCLUDEDIR="/include"
-DCMAKE_SYSTEM_NAME=Generic
-DCROSS_TOOLCHAIN_FLAGS_NATIVE="-DCMAKE_TOOLCHAIN_FILE=$(realpath ../native.cmake)"
-DCROSS_TOOLCHAIN_FLAGS_NATIVE="-DCMAKE_TOOLCHAIN_FILE=$(realpath "${COOKBOOK_RECIPE}/native.cmake")"
-DLLVM_BUILD_BENCHMARKS=Off
-DLLVM_BUILD_EXAMPLES=Off
-DLLVM_BUILD_TESTS=Off

View File

@ -15,7 +15,7 @@ function recipe_update {
}
function recipe_build {
config="$(realpath ../config.toml)"
config="$(realpath "${COOKBOOK_RECIPE}/config.toml")"
source="$(realpath ../source)"
unset AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF STRIP
python3 "$source/x.py" install --config "$config" --jobs $(nproc) --incremental