-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phasius: Update to 0.2.0 and add linux-aarch64 build (#52960)
* phasius: Update to 0.2.0 and add linux-aarch64 build Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * Reset the build number * Fix the license files * Update the download link * Add clangdev as a build dependency --------- Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
#!/bin/bash -euo | ||
#!/bin/bash | ||
|
||
set -xeuo | ||
|
||
export CFLAGS="${CFLAGS} -fcommon" | ||
export CXXFLAGS="${CFLAGS} -fcommon" | ||
|
||
# Add workaround for SSH-based Git connections from Rust/cargo. See https://github.com/rust-lang/cargo/issues/2078 for details. | ||
# We set CARGO_HOME because we don't pass on HOME to conda-build, thus rendering the default "${HOME}/.cargo" defunct. | ||
export CARGO_NET_GIT_FETCH_WITH_CLI=true CARGO_HOME="$(pwd)/.cargo" | ||
cargo-bundle-licenses --format yaml --output THIRDPARTY.yml | ||
|
||
# build statically linked binary with Rust | ||
export LD=$CC | ||
C_INCLUDE_PATH=$PREFIX/include LIBRARY_PATH=$PREFIX/lib RUST_BACKTRACE=1 cargo install --verbose --root $PREFIX --path . | ||
C_INCLUDE_PATH=$PREFIX/include LIBRARY_PATH=$PREFIX/lib RUST_BACKTRACE=1 cargo install --verbose --root $PREFIX --path . --no-track |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters