-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add workflow for building conda package on Intel Mac
remove build test on push; remove 3.8 Python support in conda due to numpy upgrade; add MKL linking option for Intel Mac;
- Loading branch information
Showing
5 changed files
with
70 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: condaBuild | ||
on: [workflow_dispatch] | ||
jobs: | ||
check_mac_installation: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
ref: intelMacConda | ||
|
||
- uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
auto-activate-base: true | ||
auto-update-conda: true | ||
|
||
- name: install pyPDAF | ||
shell: bash -el {0} | ||
run: | | ||
conda install python anaconda-client conda-build conda-verify | ||
anaconda login --username yumengch --password ${{ secrets.ANACONDA }} | ||
conda config --set anaconda_upload yes | ||
conda-build -c conda-forge -c intel conda.recipe/ |
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,38 @@ | ||
[options] | ||
include_package_data = True | ||
install_requires = | ||
Cython | ||
mpi4py | ||
numpy | ||
|
||
[PDAF] | ||
# PDAF source file directory | ||
directory= PDAF_V2.1 | ||
# fortran compiler | ||
FC = mpif90 | ||
# fortran linker | ||
LD = mpif90 | ||
AR = ar | ||
RANLIB = ranlib | ||
CPP = cpp | ||
OPT = -O3 -fdefault-real-8 -fPIC -mmacosx-version-min=10.6 | ||
OPT_LNK = | ||
INC = -IPDAF_V2.1/include | ||
LINK_LIBS = | ||
CPP_DEFS = -DUSE_PDAF | ||
|
||
[pyPDAF] | ||
pwd = /Users/runner/work/pyPDAF/pyPDAF/ | ||
CC = mpicc | ||
condaBuild = True | ||
# if MKL is used, give the path to the static MKL library | ||
use_MKL=True | ||
MKLROOT= | ||
# if dynamic/shared liblapack and libblas library is used, | ||
# give the library path and flags | ||
LAPACK_PATH= | ||
LAPACK_Flag=lapack,blas | ||
# GIVE MPI information | ||
MPI_INC_PATH= | ||
MPI_MOD_PATH= | ||
MPI_LIB_PATH= |