Compare commits
6 commits
master
...
github-act
Author | SHA1 | Date | |
---|---|---|---|
|
3c1664f8dd | ||
|
cd0f5f3f15 | ||
|
66d25e9554 | ||
|
2528ace020 | ||
|
1f80cc90b3 | ||
|
fa611addc4 |
6 changed files with 8 additions and 8 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -6,9 +6,10 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
- github-actions
|
||||
jobs:
|
||||
manylinux:
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -26,7 +27,7 @@ jobs:
|
|||
src/rocksdb/libz.a
|
||||
src/rocksdb/librocksdb.a
|
||||
- name: Install requirements
|
||||
run: sudo apt-get install build-essential binutils cmake python3-cffi
|
||||
run: sudo apt-get install build-essential binutils cmake python3-cffi python3.8-dev python3.9-dev
|
||||
- name: Make static library files
|
||||
if: steps.build-cache.outputs.cache-hit != 'true'
|
||||
run: make clean && make
|
||||
|
|
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -1,3 +1,3 @@
|
|||
[submodule "src/rocksdb"]
|
||||
path = src/rocksdb
|
||||
url = https://github.com/lbryio/rocksdb
|
||||
url = https://github.com/facebook/rocksdb
|
||||
|
|
4
Makefile
4
Makefile
|
@ -32,8 +32,8 @@ src/rocksdb/librocksdb.a:
|
|||
-Dlz4_LIBRARIES=../lz4-1.9.3/lib \
|
||||
-Dzstd_INCLUDE_DIRS=../zstd-1.4.9/lib \
|
||||
-Dzstd_LIBRARIES=../zstd-1.4.9/lib \
|
||||
-DZLIB_INCLUDE_DIR=../zlib-1.2.12 \
|
||||
-DZLIB_LIBRARY=./zlib-1.2.12 \
|
||||
-DZLIB_INCLUDE_DIR=../zlib-1.2.11 \
|
||||
-DZLIB_LIBRARY=./zlib-1.2.11 \
|
||||
-DCMAKE_CXX_FLAGS="-fPIC -I../snappy-1.1.8/build -I../zstd-1.4.9/lib/dictBuilder" \
|
||||
.. && make -j $(JOBS))
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@ function build_wheel() {
|
|||
build_wheel cp37-cp37m
|
||||
build_wheel cp38-cp38
|
||||
build_wheel cp39-cp39
|
||||
build_wheel cp310-cp310
|
||||
build_wheel pp37-pypy37_pp73
|
||||
|
||||
cd dist
|
||||
|
|
2
setup.py
2
setup.py
|
@ -59,7 +59,7 @@ if all(map(os.path.exists, STATIC_LIBRARIES)):
|
|||
INCLUDE_DIRS = [
|
||||
os.path.join("src", "rocksdb", "bzip2-1.0.8"),
|
||||
os.path.join("src", "rocksdb", "zstd-1.4.9", "lib"),
|
||||
os.path.join("src", "rocksdb", "zlib-1.2.12"),
|
||||
os.path.join("src", "rocksdb", "zlib-1.2.11"),
|
||||
os.path.join("src", "rocksdb", "snappy-1.1.8"),
|
||||
os.path.join("src", "rocksdb", "snappy-1.1.8", "build"),
|
||||
os.path.join("src", "rocksdb", "lz4-1.9.3", "lib"),
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 752fea5d4400198bc8a591b7d795d1c8d5f12230
|
||||
Subproject commit 0103296f39ec3fd89b4cdda9687c63fde90eec24
|
Loading…
Reference in a new issue