File tree Expand file tree Collapse file tree 2 files changed +41
-2
lines changed Expand file tree Collapse file tree 2 files changed +41
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : build-wheels
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ build-wheels :
11
+ timeout-minutes : 60
12
+ runs-on : ubuntu-latest
13
+ container : quay.io/pypa/manylinux2014_x86_64
14
+
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+
18
+ - name : Install bazel
19
+ run : |
20
+ yum -y install wget
21
+ yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel
22
+ wget "https://github.com/bazelbuild/bazel/releases/download/5.1.0/bazel-5.1.0-installer-linux-x86_64.sh" -O bazel-5.1.0-installer-linux-x86_64.sh
23
+ chmod +x bazel-5.1.0-installer-linux-x86_64.sh
24
+ ./bazel-5.1.0-installer-linux-x86_64.sh --user
25
+ export PATH=$PATH:~/.bazel/bin
26
+ export PYTHON_BIN_PATH='/opt/python/cp38-cp38/bin/python'
27
+ bazel build //pygloo:all
28
+ echo "Built successfully1."
29
+
30
+ - name : Build wheels
31
+ run : |
32
+ # bazel build //pygloo:all
33
+ echo "Built successfully."
34
+
35
+ # - name: Archive pygloo-wheel
36
+ # uses: actions/upload-artifact@v1
37
+ # with:
38
+ # name: pygloo_python39_wheel_on_manylinux
39
+ # path: dist/
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ cmake_external(
10
10
env_vars = {"CFLAGS" : "-fPIC" },
11
11
lib_source = "@libuv//:all" ,
12
12
13
- out_lib_dir = "lib " ,
13
+ out_lib_dir = "lib64 " ,
14
14
# We are selecting the resulting static library to be passed in C/C++ provider
15
15
# as the result of the build;
16
16
static_libraries = ["libuv_a.a" ],
@@ -32,7 +32,7 @@ cmake_external(
32
32
# Values to be passed as -Dkey=value on the CMake command line;
33
33
# here are serving to provide some CMake script configuration options
34
34
cache_entries = {
35
- "libuv_LIBDIR" : "$EXT_BUILD_DEPS/libuv/lib " ,
35
+ "libuv_LIBDIR" : "$EXT_BUILD_DEPS/libuv/lib64 " ,
36
36
"libuv_INCLUDE_DIRS" : "$EXT_BUILD_DEPS/libuv/include" ,
37
37
38
38
"HIREDIS_NESTED_INCLUDE" : "off" , # 'on' use hiredis/hiredis.h, 'off' use hiredis.h.
You can’t perform that action at this time.
0 commit comments