Skip to content

Commit 5bab63e

Browse files
authored
Merge branch 'smdogroup:master' into aero-shape
2 parents ff49fca + 7e78fdc commit 5bab63e

File tree

7 files changed

+155
-154
lines changed

7 files changed

+155
-154
lines changed

.github/workflows/deploy_conda_package.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,14 @@ jobs:
9292
export F2F_DIR=${GITHUB_WORKSPACE};
9393
echo "F2F_DIR=${GITHUB_WORKSPACE}" >> $GITHUB_ENV;
9494
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
95101
conda install anaconda-client conda-build conda-verify -q -y;
96102
conda config --set anaconda_upload no;
97103
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 . .;
99105
anaconda upload --label $LABEL ${{ matrix.TARGET }}/*.tar.bz2 --force;

conda/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ mkdir ${PREFIX}/include/funtofem
3333
cp ${F2F_DIR}/include/*.h ${PREFIX}/include/funtofem
3434

3535
# 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;

conda/meta.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ requirements:
4343
- mpich # [mpi == "mpich" and build_platform != target_platform]
4444
- openmpi-mpicxx # [mpi == "openmpi" and build_platform != target_platform]
4545
- 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]
4747
- cython >=0.29,<3.0 # [build_platform != target_platform]
4848
- setuptools # [build_platform != target_platform]
4949
- tacs >=3.4.0 # [build_platform != target_platform]
@@ -56,7 +56,7 @@ requirements:
5656
- mpich # [mpi == "mpich"]
5757
- libopenblas
5858
- lapack
59-
- mpi4py >=3.1.1
59+
- mpi4py >=3.1.5,<4.0.0
6060
- cython >=0.29,<3.0
6161
- tacs >=3.4.0
6262

@@ -68,7 +68,7 @@ requirements:
6868
- mpich # [mpi == "mpich"]
6969
- libopenblas
7070
- lapack
71-
- mpi4py >=3.1.1
71+
- mpi4py >=3.1.5,<4.0.0
7272
- tacs >=3.4.0
7373

7474
test:

0 commit comments

Comments
 (0)