fix to enable compile on loongarch

This commit is contained in:
huchangqi 2023-06-01 15:51:13 +08:00
parent 57c8bb59ad
commit 6e48c6e969
4 changed files with 2679 additions and 2177 deletions

View File

@ -6,7 +6,7 @@
# to the CMakeLists.txt. You don't need to link against the pcre2 library
# because the static symbols will be in MaxScale.
ExternalProject_Add(pcre2 SOURCE_DIR ${CMAKE_SOURCE_DIR}/pcre2/
CMAKE_ARGS -DCMAKE_C_FLAGS=-fPIC -DBUILD_SHARED_LIBS=N -DPCRE2_BUILD_PCRE2GREP=N -DPCRE2_BUILD_TESTS=N -DPCRE2_SUPPORT_JIT=Y
CMAKE_ARGS -DCMAKE_C_FLAGS=-fPIC -DBUILD_SHARED_LIBS=N -DPCRE2_BUILD_PCRE2GREP=N -DPCRE2_BUILD_TESTS=N -DPCRE2_SUPPORT_JIT=N
BINARY_DIR ${CMAKE_BINARY_DIR}/pcre2/
BUILD_COMMAND make
INSTALL_COMMAND "")

View File

@ -18,5 +18,5 @@ fi
cd $PWD/maxctrl
npm install
npm install pkg@4.3.4
node_modules/pkg/lib-es5/bin.js -t node6-linux-x64 .
npm install pkg@5
node_modules/pkg/lib-es5/bin.js -t node18-linux .

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff