forked from blas-lapack-rs/openblas-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request blas-lapack-rs#123 from Dirreke/add-ci
Rewrite CI ( Include CI for Cross-compilation)
- Loading branch information
Showing
4 changed files
with
78 additions
and
50 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
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
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
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[target.aarch64-unknown-linux-gnu] | ||
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main" | ||
pre-build = [ | ||
"dpkg --add-architecture $CROSS_DEB_ARCH", | ||
"apt-get update && apt-get --assume-yes install libopenblas-dev:$CROSS_DEB_ARCH libssl-dev" | ||
] | ||
[target.aarch64-unknown-linux-gnu.env] | ||
passthrough = [ | ||
"OPENBLAS_CC=aarch64-linux-gnu-gcc", | ||
"OPENBLAS_HOSTCC=gcc", | ||
"OPENBLAS_FC=aarch64-linux-gnu-gfortran", | ||
"OPENBLAS_TARGET=ARMV8" | ||
] | ||
|
||
[target.armv7-unknown-linux-gnueabihf] | ||
image = "ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:main" | ||
pre-build = [ | ||
"dpkg --add-architecture $CROSS_DEB_ARCH", | ||
"apt-get update && apt-get --assume-yes install libopenblas-dev:$CROSS_DEB_ARCH libssl-dev" | ||
] | ||
[target.armv7-unknown-linux-gnueabihf.env] | ||
passthrough = [ | ||
"OPENBLAS_CC=arm-linux-gnueabihf-gcc", | ||
"OPENBLAS_HOSTCC=gcc", | ||
"OPENBLAS_FC=arm-linux-gnueabihf-gfortran", | ||
"OPENBLAS_TARGET=ARMV7" | ||
] | ||
|