-
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.
* MPICH: Configure --with-device=ch4:ofi,ucx * Open MPI: Configure --with-ofi --with-ucx * Reproducible builds * Strip binaries to reduce size * Remove unneeded binaries
- Loading branch information
Showing
10 changed files
with
608 additions
and
110 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 |
---|---|---|
|
@@ -76,6 +76,7 @@ jobs: | |
shell: python | ||
name: 'setup build matrix' | ||
run: | | ||
# setup build matrix # " | ||
keys = ("os", "arch", "runner") | ||
rows = [ | ||
("Linux", "aarch64", "ubuntu-22.04"), | ||
|
@@ -93,6 +94,7 @@ jobs: | |
import os, json | ||
with open(os.getenv("GITHUB_OUTPUT"), "w") as out: | ||
print(f"matrix={json.dumps(matrix)}", file=out) | ||
# " | ||
build: | ||
needs: setup | ||
|
@@ -117,12 +119,12 @@ jobs: | |
cd $(brew --prefix)/bin | ||
gfortran=$(ls gfortran-* | sort | head -n 1) | ||
sudo ln -s $gfortran gfortran | ||
# unlink libevent | ||
brew unlink libevent || true | ||
# install autotools | ||
brew install autoconf | ||
brew install automake | ||
brew install libtool | ||
# unlink libevent | ||
brew unlink libevent || true | ||
# install uv | ||
brew install uv | ||
|
@@ -142,9 +144,13 @@ jobs: | |
|
||
- id: source-date-epoch | ||
run: | | ||
SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) | ||
read -r SOURCE_DATE_EPOCH < source-date-epoch || true | ||
SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH:-$(git log -1 --pretty=%ct)} | ||
echo SOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH >> $GITHUB_ENV | ||
echo $(git log -1 --pretty=%ci) [timestamp=$SOURCE_DATE_EPOCH] | ||
echo [SOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH] $( | ||
date -u -d @$SOURCE_DATE_EPOCH 2>/dev/null || | ||
date -u -r $SOURCE_DATE_EPOCH 2>/dev/null ) | ||
working-directory: package/source | ||
|
||
- id: build | ||
uses: pypa/[email protected] | ||
|
@@ -174,7 +180,7 @@ jobs: | |
CIBW_REPAIR_WHEEL_COMMAND_MACOS: > | ||
delocate-wheel | ||
--ignore-missing-dependencies | ||
--exclude libmpi --exclude libpmpi | ||
--exclude libmpi --exclude libpmpi --exclude libfabric | ||
--require-archs {delocate_archs} | ||
-w {dest_dir} -v {wheel} | ||
|
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 |
---|---|---|
|
@@ -5,4 +5,5 @@ | |
/venv/ | ||
*.egg-info/ | ||
*.tar.gz | ||
*.tar.bz2 | ||
*~ |
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
Oops, something went wrong.