mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
acb6110145
commit
62aa1fe955
1 changed files with 14 additions and 2 deletions
|
@ -15,13 +15,14 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
rust-lang.org/rustup: '*' # manages its own rust :/
|
rust-lang.org/rustup: '*' # manages its own rust :/
|
||||||
facebook.com/zstd: '*' # builds its own, still needs our cli
|
facebook.com/zstd: '*' # builds its own, still needs our cli
|
||||||
ziglang.org: '*'
|
ziglang.org: ~0.11
|
||||||
nodejs.org: '*'
|
nodejs.org: '*'
|
||||||
yarnpkg.com: '*'
|
yarnpkg.com: '*'
|
||||||
cmake.org: '*'
|
cmake.org: '*'
|
||||||
git-scm.org: '*'
|
git-scm.org: '*'
|
||||||
linux:
|
linux:
|
||||||
info-zip.org/zip: '*'
|
info-zip.org/zip: '*'
|
||||||
|
llvm.org: ^17
|
||||||
script:
|
script:
|
||||||
- mkdir -p $HOME/.cargo/bin
|
- mkdir -p $HOME/.cargo/bin
|
||||||
- ln -sf {{deps.rust-lang.org/rustup.prefix}}/bin/rustup $HOME/.cargo/bin/rustup
|
- ln -sf {{deps.rust-lang.org/rustup.prefix}}/bin/rustup $HOME/.cargo/bin/rustup
|
||||||
|
@ -29,7 +30,14 @@ build:
|
||||||
- yarn
|
- yarn
|
||||||
- rustup default nightly
|
- rustup default nightly
|
||||||
- make stdlib
|
- make stdlib
|
||||||
- make libs
|
- run: |
|
||||||
|
OLD_LDFLAGS="$LDFLAGS"
|
||||||
|
unset LDFLAGS
|
||||||
|
if: linux
|
||||||
|
- make libs-$ARCH
|
||||||
|
- run: |
|
||||||
|
LDFLAGS="$OLD_LDFLAGS"
|
||||||
|
if: linux
|
||||||
|
|
||||||
# the mapping from x86_64 > x64 exists for linux, but not darwin, oddly
|
# the mapping from x86_64 > x64 exists for linux, but not darwin, oddly
|
||||||
# https://github.com/awslabs/llrt/pull/336
|
# https://github.com/awslabs/llrt/pull/336
|
||||||
|
@ -41,6 +49,10 @@ build:
|
||||||
- install -D target/*/release/llrt {{prefix}}/bin/llrt
|
- install -D target/*/release/llrt {{prefix}}/bin/llrt
|
||||||
env:
|
env:
|
||||||
PATH: $HOME/.cargo/bin:$PATH # rustup
|
PATH: $HOME/.cargo/bin:$PATH # rustup
|
||||||
|
x86-64:
|
||||||
|
ARCH: x64
|
||||||
|
aarch64:
|
||||||
|
ARCH: arm64
|
||||||
|
|
||||||
test:
|
test:
|
||||||
- llrt --version | grep {{version}}
|
- llrt --version | grep {{version}}
|
||||||
|
|
Loading…
Reference in a new issue