mirror of
https://github.com/ivabus/pantry
synced 2025-06-08 08:20:32 +03:00
Should require the issue #15596 tweaks only on the affected versions
This commit is contained in:
parent
97a351cf43
commit
6915789c83
1 changed files with 8 additions and 6 deletions
|
@ -16,13 +16,15 @@ interprets:
|
|||
|
||||
build:
|
||||
script: |
|
||||
# https://github.com/denoland/deno/issues/15596
|
||||
find ext/ffi/tinycc -maxdepth 0 -empty -exec \
|
||||
git clone https://github.com/TinyCC/tinycc.git {} \;
|
||||
# https://github.com/denoland/deno/issues/15596 -- reported fixed in 1.25.3
|
||||
if test {{ version.major }} -eq 1 -a {{ version.minor }} -eq 25 -a {{ version.patch }} -lt 3; then
|
||||
find ext/ffi/tinycc -maxdepth 0 -empty -exec \
|
||||
git clone https://github.com/TinyCC/tinycc.git {} \;
|
||||
|
||||
if test {{ hw.target }} = x86_64-apple-darwin; then
|
||||
# our LLVM cannot build with deployment target set to 10.6
|
||||
sed -i.bak s/MACOSX_DEPLOYMENT_TARGET/\#/ ext/ffi/tinycc/Makefile
|
||||
if test {{ hw.target }} = x86_64-apple-darwin; then
|
||||
# our LLVM cannot build with deployment target set to 10.6
|
||||
sed -i.bak s/MACOSX_DEPLOYMENT_TARGET/\#/ ext/ffi/tinycc/Makefile
|
||||
fi
|
||||
fi
|
||||
|
||||
cargo build --release
|
||||
|
|
Loading…
Reference in a new issue