mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:17:35 +00:00
Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
This commit is contained in:
parent
e507cfcdb0
commit
c07f91474d
149 changed files with 352 additions and 345 deletions
|
@ -3,7 +3,7 @@ port=llvm
|
|||
useconfigure=true
|
||||
version=12.0.0
|
||||
workdir=llvm-project-llvmorg-${version}
|
||||
configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
||||
files="https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-${version}.zip llvm.zip f77723b70a5d4ab14899feda87d6cf601612165899abb2f6c7b670e517f45e2d"
|
||||
auth_type=sha256
|
||||
|
||||
|
@ -20,7 +20,7 @@ pre_patch() {
|
|||
configure() {
|
||||
mkdir -p llvm-build
|
||||
cmake ${workdir}/llvm \
|
||||
-B llvm-build $configopts \
|
||||
-B llvm-build "${configopts[@]}" \
|
||||
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||
-DLLVM_TARGETS_TO_BUILD=X86 \
|
||||
-DLLVM_ENABLE_PROJECTS="clang;lld;compiler-rt" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue