mirror of
https://github.com/nfstream/nfstream.git
synced 2026-05-19 16:28:14 +00:00
[WIP] Improve CI.
This commit is contained in:
parent
c29d9f768f
commit
10bc68389d
2 changed files with 3 additions and 8 deletions
|
|
@ -1,4 +1,3 @@
|
|||
#!/bin/sh
|
||||
#-----------------------------------------------------------------------------------------------------------------------
|
||||
# build.sh
|
||||
# Copyright (C) 2019-22 - NFStream Developers
|
||||
|
|
@ -61,8 +60,8 @@ build_libndpi() {
|
|||
echo "Compiling libndpi"
|
||||
echo "---------------------------------------------------------------------------------------------------------------"
|
||||
cd nDPI
|
||||
./autogen.sh --with-local-libgcrypt
|
||||
./configure CFLAGS="-I/tmp/nfstream_build/usr/local/include" LDFLAGS="-L/tmp/nfstream_build/usr/local/lib"
|
||||
./autogen.sh
|
||||
./configure CFLAGS="-I/tmp/nfstream_build/usr/local/include" LDFLAGS="-L/tmp/nfstream_build/usr/local/lib" --with-local-libgcrypt
|
||||
cd src/lib
|
||||
make
|
||||
cd ../..
|
||||
|
|
@ -79,9 +78,5 @@ build_libgpgerror
|
|||
build_libgcrypt
|
||||
build_libndpi
|
||||
|
||||
# Remove temporary build directory
|
||||
rm -rf /tmp/nfstream_build
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -80,7 +80,7 @@ class BuildNativeCommand(build_ext):
|
|||
msys2 = shutil.which('msys2')
|
||||
subprocess.check_call([msys2, "-c", build_script_command])
|
||||
else:
|
||||
subprocess.check_call([str(BUILD_SCRIPT_PATH)])
|
||||
subprocess.check_call([str(BUILD_SCRIPT_PATH)], shell=True)
|
||||
# Build engine
|
||||
setup_engine_cc()
|
||||
build_ext.run(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue