mirror of
https://github.com/nfstream/nfstream.git
synced 2026-05-19 07:54:25 +00:00
[WIP] Improve CI.
This commit is contained in:
parent
9f89f0658c
commit
c29d9f768f
2 changed files with 8 additions and 4 deletions
|
|
@ -61,10 +61,11 @@ build_libndpi() {
|
|||
echo "Compiling libndpi"
|
||||
echo "---------------------------------------------------------------------------------------------------------------"
|
||||
cd nDPI
|
||||
./autogen.sh
|
||||
./configure CFLAGS="-I/tmp/nfstream_build/usr/local/include" LDFLAGS="-L/tmp/nfstream_build/usr/local/lib" --with-local-libgcrypt --with-only-libndpi
|
||||
./autogen.sh --with-local-libgcrypt
|
||||
./configure CFLAGS="-I/tmp/nfstream_build/usr/local/include" LDFLAGS="-L/tmp/nfstream_build/usr/local/lib"
|
||||
cd src/lib
|
||||
make
|
||||
cd ..
|
||||
cd ../..
|
||||
echo "---------------------------------------------------------------------------------------------------------------"
|
||||
echo ""
|
||||
}
|
||||
|
|
@ -78,6 +79,9 @@ build_libgpgerror
|
|||
build_libgcrypt
|
||||
build_libndpi
|
||||
|
||||
# Remove temporary build directory
|
||||
rm -rf /tmp/nfstream_build
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -78,7 +78,7 @@ class BuildNativeCommand(build_ext):
|
|||
)
|
||||
print(build_script_command)
|
||||
msys2 = shutil.which('msys2')
|
||||
subprocess.check_call([msys2, "-c", build_script_command], shell=False)
|
||||
subprocess.check_call([msys2, "-c", build_script_command])
|
||||
else:
|
||||
subprocess.check_call([str(BUILD_SCRIPT_PATH)])
|
||||
# Build engine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue