-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update package name to toast from toast-cmb. (#488)
* Update package name to toast from toast-cmb. * Update authors * Add local linux test script for cibuildwheel
- Loading branch information
Showing
7 changed files
with
41 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ Theodore Kisner <[email protected]> | |
Reijo Keskitalo <[email protected]> | ||
Andrea Zonca <[email protected]> | ||
Giuseppe Puglisi <[email protected]> | ||
Nestor Demeure <[email protected]> | ||
Kolen Cheung <[email protected]> |
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 |
---|---|---|
@@ -1 +1 @@ | ||
2.3.13a1 | ||
2.3.13rc1 |
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,19 @@ | ||
#!/bin/bash | ||
|
||
# Before running this from the toast git checkout directory, | ||
# you shoul pip install cibuildwheel | ||
|
||
export CIBW_BUILD="cp38-manylinux_x86_64" | ||
export CIBW_MANYLINUX_X86_64_IMAGE="manylinux2010" | ||
export CIBW_BUILD_VERBOSITY=3 | ||
export CIBW_ENVIRONMENT_LINUX="TOAST_BUILD_BLAS_LIBRARIES='-lopenblas -fopenmp -lm -lgfortran' TOAST_BUILD_LAPACK_LIBRARIES='-lopenblas -fopenmp -lm -lgfortran' TOAST_BUILD_CMAKE_VERBOSE_MAKEFILE=ON" | ||
export CIBW_BEFORE_BUILD_LINUX=./wheels/install_deps_linux.sh | ||
export CIBW_BEFORE_TEST="pip3 install numpy && pip3 install mpi4py" | ||
export CIBW_TEST_COMMAND="export OMP_NUM_THREADS=2; python -c 'import toast.tests; toast.tests.run()'" | ||
|
||
# Get the current date for logging | ||
now=$(date "+%Y-%m-%d_%H:%M:%S") | ||
|
||
# Run it | ||
cibuildwheel --platform linux --archs x86_64 --output-dir wheelhouse . 2>&1 | tee log_${now} | ||
|