Skip to content

Commit 12561a4

Browse files
committed
test fix
1 parent fac4205 commit 12561a4

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/conda_release.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,6 @@ jobs:
104104
ANACONDA_USER: ${{ secrets.ANACONDA_USER }}
105105
VERSION: ${{ steps.vars.outputs.VERSION }}
106106
run: |
107-
# 1) Upload any noarch packages (only once, from any job instance)
108-
if [ "${{ matrix.platform.subdir }}" = "linux-64" ]; then
109-
# The noarch files live under "noarch/"
110-
for PKG_noarch in conda-build-artifacts/noarch/*-${{ env.VERSION }}-*.tar.bz2; do
111-
echo "Uploading noarch package: $PKG_noarch"
112-
anaconda -t $ANACONDA_TOKEN upload "$PKG_noarch" --user $ANACONDA_USER --label main --force
113-
done
114-
fi
115-
116-
# 2) Upload the arch-specific C++ package (this job’s platform)
117107
for PKG in conda-build-artifacts/${{ matrix.platform.subdir }}/*-${{ env.VERSION }}-*.tar.bz2; do
118108
echo "Uploading $PKG"
119109
anaconda -t $ANACONDA_TOKEN upload "$PKG" --user $ANACONDA_USER --label main --force

conda-recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ build:
1818
- CFLAGS
1919
- CXXFLAGS
2020
script: |
21-
export CFLAGS="-pthread -D_GNU_SOURCE -I${PREFIX}/include $CFLAGS"
22-
export CXXFLAGS="-pthread -D_GNU_SOURCE -I${PREFIX}/include $CXXFLAGS"
21+
export CFLAGS="-pthread -I${PREFIX}/include $CFLAGS"
22+
export CXXFLAGS="-pthread -I${PREFIX}/include $CXXFLAGS"
2323
export LDFLAGS="-pthread ${LDFLAGS}"
2424
2525
cmake -S cpp/all -B build -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS"

0 commit comments

Comments
 (0)