File tree 3 files changed +21
-16
lines changed
3 files changed +21
-16
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ jobs:
12
12
strategy :
13
13
matrix :
14
14
include :
15
- - os : " linux"
16
- name : " amd64"
17
- runs-on : " ubuntu-18-04"
18
15
# - os: "linux"
19
16
# name: "amd64"
20
- # runs-on: "ubuntu-latest"
17
+ # runs-on: "ubuntu-18-04"
18
+ - os : " linux"
19
+ name : " amd64"
20
+ runs-on : " ubuntu-latest"
21
21
- os : " mac"
22
22
name : " arm64"
23
23
runs-on : " mac-silicon"
@@ -36,11 +36,11 @@ jobs:
36
36
id : checkout
37
37
uses : actions/checkout@v3
38
38
39
- - name : Install OpenSSL on Ubuntu
40
- if : matrix.os == 'linux'
41
- run : |
42
- sudo apt-get update
43
- sudo apt-get install -y openssl libssl-dev
39
+ # - name: Install OpenSSL on Ubuntu
40
+ # if: matrix.os == 'linux'
41
+ # run: |
42
+ # sudo apt-get update
43
+ # sudo apt-get install -y openssl libssl-dev
44
44
45
45
- name : Install make on Windows
46
46
if : runner.os == 'windows'
Original file line number Diff line number Diff line change 27
27
build-example-server :
28
28
ifeq ($(OS ) ,Windows_NT)
29
29
@powershell -Command "mkdir -p .\examples\server\build\engines\cortex.python; cd .\examples\server\build; cmake .. $(CMAKE_EXTRA_FLAGS); cmake --build . --config Release; cp -r ..\..\..\build\python .\Release\engines\cortex.python\python"
30
- else ifeq ($(shell uname -s),Linux)
31
- @mkdir -p examples/server/build/engines/cortex.python; \
32
- cd examples/server/build; \
33
- cmake ..; \
34
- cmake --build . --config Release -j12; \
35
- cp -r build/python examples/server/build/engines/cortex.python;
36
30
else
37
31
@mkdir -p examples/server/build/engines/cortex.python; \
38
32
cp -rf build_deps/_install/lib/engines-3 build/python/; \
Original file line number Diff line number Diff line change @@ -92,6 +92,17 @@ if(APPLE)
92
92
endif ()
93
93
94
94
if (CMAKE_SYSTEM_NAME STREQUAL "Linux" )
95
+ # Download and install OpenSSL
96
+ ExternalProject_Add(
97
+ OpenSSL
98
+ URL https://www.openssl.org/source /openssl-3.3.0.tar.gz
99
+ PREFIX ${THIRD_PARTY_INSTALL_PATH}
100
+ CONFIGURE_COMMAND ./Configure --prefix =<INSTALL_DIR>
101
+ BUILD_COMMAND make -j8
102
+ INSTALL_COMMAND make install
103
+ BUILD_IN_SOURCE 1
104
+ )
105
+
95
106
# Download and install zlib
96
107
ExternalProject_Add(
97
108
zlib
@@ -139,7 +150,7 @@ if (UNIX) # APPLE and LINUX
139
150
else ()
140
151
set (PYTHON_INSTALL_CONFIG_HOST "" )
141
152
set (PYTHON_INSTALL_CONFIG_BUILD "" )
142
- set (PYTHON_INSTALL_CONFIG_SSL "" )
153
+ set (PYTHON_INSTALL_CONFIG_SSL "--with-openssl= ${THIRD_PARTY_INSTALL_PATH} --with-openssl-rpath=auto " )
143
154
endif ()
144
155
145
156
# Download and install Python3 from source
You can’t perform that action at this time.
0 commit comments