Skip to content

Commit f646c34

Browse files
committed
cibw changes
1 parent b593b76 commit f646c34

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/manylinux_2_28.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ jobs:
1818
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
1919
CIBW_BUILD: "cp310-manylinux* cp311-manylinux* cp312-manylinux* cp313-manylinux*"
2020

21-
CIBW_ENVIRONMENT: |
21+
CIBW_ENVIRONMENT_LINUX: |
2222
BUILD_GLFW=0
2323
BUILD_FREETYPE=1
2424
CPPFLAGS="-I/usr/local/include"
2525
LDFLAGS="-L/usr/local/lib"
2626
27-
CIBW_ENVIRONMENT_PASS_LINUX: BUILD_GLFW BUILD_FREETYPE CXXFLAGS CPPFLAGS LDFLAGS
2827
CIBW_BEFORE_ALL_LINUX: bash ci/manylinux-build-deps
2928
CIBW_BEFORE_BUILD_LINUX: |
3029
python -m pip install pysam>=0.23.0 numpy>=1.19.3 cython>=3.0.0

ci/manylinux-build-deps

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
#!/bin/bash
22

33
echo "STARTING MANYLINUX-DEPS"
4+
echo "=== Environment Variables ==="
5+
echo "BUILD_FREETYPE: $BUILD_FREETYPE"
6+
echo "BUILD_GLFW: $BUILD_GLFW"
7+
echo "CPPFLAGS: $CPPFLAGS"
8+
echo "LDFLAGS: $LDFLAGS"
9+
echo "================================"
410
env
11+
echo "================================"
512

613
yum install -y epel-release
714

@@ -66,8 +73,7 @@ cd htslib
6673
make -j3 && make install
6774
cd ../
6875

69-
# freetype - build both static and shared
70-
if [ -n "$BUILD_FREETYPE" ]; then
76+
if [[ "$BUILD_FREETYPE" == "1" ]]; then
7177

7278
echo "Removing system FreeType packages..."
7379
yum remove -y freetype freetype-devel || true

0 commit comments

Comments
 (0)