Skip to content

Commit dad2509

Browse files
authored
Merge pull request #16 from NightTsarina/fix_wheels_build
Attempt to fix the build for wheels.
2 parents be185cc + 0cd7ef5 commit dad2509

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/dist.yml

+10-8
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
push:
77
branches:
88
- main
9+
- 'force_ci/all/**' # For development, forcing all workflows to run.
10+
- 'force_ci/dist/**' # For debugging and/or only forcing this workflow.
911

1012
jobs:
1113
build_wheels:
@@ -49,14 +51,14 @@ jobs:
4951
# Avoid re-building the C library in every iteration by testing for
5052
# the build directory.
5153
CIBW_BEFORE_BUILD: >
52-
yum install -y python3-pkgconfig bzip2-devel lz4-devel snappy-devel zlib-devel
53-
python3-Cython &&
54-
test -d ${{ env.LIBROCKSDB_PATH }} || (
55-
git clone https://github.com/facebook/rocksdb --depth 1
56-
--branch ${{ matrix.rocksdb_ver }} ${{ env.LIBROCKSDB_PATH }} &&
57-
cd ${{ env.LIBROCKSDB_PATH }} &&
58-
CXXFLAGS='-flto -Os -s' PORTABLE=1 make shared_lib -j 4
59-
) &&
54+
yum install -y bzip2-devel lz4-devel snappy-devel zlib-devel
55+
python3-Cython && (
56+
test -d ${{ env.LIBROCKSDB_PATH }} || (
57+
git clone https://github.com/facebook/rocksdb --depth 1
58+
--branch ${{ matrix.rocksdb_ver }} ${{ env.LIBROCKSDB_PATH }} &&
59+
cd ${{ env.LIBROCKSDB_PATH }} &&
60+
CXXFLAGS='-flto -Os -s' PORTABLE=1 make shared_lib -j 4
61+
)) &&
6062
pushd ${{ env.LIBROCKSDB_PATH }} &&
6163
make install-shared &&
6264
ldconfig &&

0 commit comments

Comments
 (0)