File tree 7 files changed +155
-154
lines changed
7 files changed +155
-154
lines changed Original file line number Diff line number Diff line change 92
92
export F2F_DIR=${GITHUB_WORKSPACE};
93
93
echo "F2F_DIR=${GITHUB_WORKSPACE}" >> $GITHUB_ENV;
94
94
export ANACONDA_API_TOKEN=${{ secrets.ANACONDA_TOKEN }};
95
+ export BUILD_ARGS="--no-include-recipe ${{ matrix.EXTRA_ARGS }}";
96
+ if [[ ${{ matrix.SCALAR }} == "complex" ]]; then
97
+ export LABEL="complex"
98
+ elif [[ ${{ matrix.SCALAR }} == "real" ]]; then
99
+ export LABEL="main"
100
+ fi
95
101
conda install anaconda-client conda-build conda-verify -q -y;
96
102
conda config --set anaconda_upload no;
97
103
cd ${F2F_DIR}/conda;
98
- conda build --variants "{scalar: ${{ matrix.SCALAR }}}" -c conda-forge -c "smdogroup/label/complex" -c smdogroup --output-folder . .;
104
+ conda build --variants "{scalar: ${{ matrix.SCALAR }}}" -c "smdogroup/label/complex" -c smdogroup -c conda-forge $BUILD_ARGS --output-folder . .;
99
105
anaconda upload --label $LABEL ${{ matrix.TARGET }}/*.tar.bz2 --force;
Original file line number Diff line number Diff line change @@ -33,4 +33,4 @@ mkdir ${PREFIX}/include/funtofem
33
33
cp ${F2F_DIR} /include/* .h ${PREFIX} /include/funtofem
34
34
35
35
# make the python package
36
- CFLAGS =${PIP_FLAGS} ${PYTHON} -m pip install --no-deps --prefix=${PREFIX} . -vv;
36
+ CPPFLAGS =${PIP_FLAGS} ${PYTHON} -m pip install --no-deps --prefix=${PREFIX} . -vv;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ requirements:
43
43
- mpich # [mpi == "mpich" and build_platform != target_platform]
44
44
- openmpi-mpicxx # [mpi == "openmpi" and build_platform != target_platform]
45
45
- mpich-mpicxx # [mpi == "mpich" and build_platform != target_platform]
46
- - mpi4py >=3.1.1 # [build_platform != target_platform]
46
+ - mpi4py >=3.1.5,<4.0.0 # [build_platform != target_platform]
47
47
- cython >=0.29,<3.0 # [build_platform != target_platform]
48
48
- setuptools # [build_platform != target_platform]
49
49
- tacs >=3.4.0 # [build_platform != target_platform]
@@ -56,7 +56,7 @@ requirements:
56
56
- mpich # [mpi == "mpich"]
57
57
- libopenblas
58
58
- lapack
59
- - mpi4py >=3.1.1
59
+ - mpi4py >=3.1.5,<4.0.0
60
60
- cython >=0.29,<3.0
61
61
- tacs >=3.4.0
62
62
@@ -68,7 +68,7 @@ requirements:
68
68
- mpich # [mpi == "mpich"]
69
69
- libopenblas
70
70
- lapack
71
- - mpi4py >=3.1.1
71
+ - mpi4py >=3.1.5,<4.0.0
72
72
- tacs >=3.4.0
73
73
74
74
test :
You can’t perform that action at this time.
0 commit comments