Compare commits
1 Commits
main
...
RAOF/fix-a
Author | SHA1 | Date | |
---|---|---|---|
|
adb5dac1d2 |
@ -31,21 +31,20 @@ parts:
|
|||||||
- pkg-config
|
- pkg-config
|
||||||
- libsqlite3-dev
|
- libsqlite3-dev
|
||||||
- gettext
|
- gettext
|
||||||
- libclang-8-dev
|
- libclang-9-dev
|
||||||
- on arm64,armhf,ppc64el,s390x:
|
- lld-9
|
||||||
- lld-8
|
|
||||||
override-build: |
|
override-build: |
|
||||||
snapcraftctl set-version $(git describe --tags)
|
snapcraftctl set-version $(git describe --tags)
|
||||||
export PATH=$PATH:$HOME/.cargo/bin
|
export PATH=$PATH:$HOME/.cargo/bin
|
||||||
rustup install stable
|
rustup install --force --profile=minimal stable
|
||||||
cargo +stable install --force cargo-web
|
cargo +stable install --force cargo-web
|
||||||
|
|
||||||
# Only Tier 1 Rust platforms get rust-lld
|
# Only Tier 1 Rust platforms get rust-lld
|
||||||
# On the others (arm64, armhf, powerpc64, s390x) fall back to using
|
# On the others (arm64, armhf, powerpc64, s390x) fall back to using
|
||||||
# the system LLD we've installed earlier.
|
# the system LLD we've installed earlier.
|
||||||
case ${SNAPCRAFT_ARCH_TRIPLET} in \
|
case ${SNAPCRAFT_ARCH_TRIPLET} in \
|
||||||
aarch64-linux-gnu|arm-linux-gnueabihf|powerpc64-linux-gnu|s390x-linux-gnu) \
|
aarch64-linux-gnu|arm-linux-gnueabihf|powerpc64le-linux-gnu|s390x-linux-gnu) \
|
||||||
RUSTFLAGS="-C linker=lld-8" cargo web deploy -p plume-front --release \
|
RUSTFLAGS="-C linker=lld-9" cargo web deploy -p plume-front --release \
|
||||||
;; \
|
;; \
|
||||||
*) \
|
*) \
|
||||||
cargo web deploy -p plume-front --release \
|
cargo web deploy -p plume-front --release \
|
||||||
|
Loading…
Reference in New Issue
Block a user