Updated windows build
This commit is contained in:
parent
bdb34e6474
commit
dfc3e08681
2
third_party/DataPipes
vendored
2
third_party/DataPipes
vendored
@ -1 +1 @@
|
||||
Subproject commit 4f199d074580a6cf591b6300024c09f4e5101326
|
||||
Subproject commit 6803c93043aa1ec2ab962c99921e83144dc067ae
|
7
third_party/build.sh
vendored
7
third_party/build.sh
vendored
@ -3,7 +3,12 @@
|
||||
# Enter third_party/ directory
|
||||
cd $(dirname $0)
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
export build_helper_file="../build-helpers/build_helper.sh"
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
begin_task "build_third_party" "Building libraries"
|
||||
|
||||
function exec_script() {
|
||||
|
12
third_party/build_boringssl.sh
vendored
12
third_party/build_boringssl.sh
vendored
@ -1,6 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="boringssl"
|
||||
requires_rebuild ${library_path}
|
||||
[[ $? -eq 0 ]] && exit 0
|
||||
|
11
third_party/build_breakpad.sh
vendored
11
third_party/build_breakpad.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="breakpad"
|
||||
requires_rebuild ${library_path}
|
||||
|
11
third_party/build_cxxterminal.sh
vendored
11
third_party/build_cxxterminal.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="CXXTerminal"
|
||||
requires_rebuild ${library_path}
|
||||
|
11
third_party/build_datapipes.sh
vendored
11
third_party/build_datapipes.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="DataPipes"
|
||||
requires_rebuild ${library_path}
|
||||
|
11
third_party/build_ed25519.sh
vendored
11
third_party/build_ed25519.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="ed25519"
|
||||
requires_rebuild ${library_path}
|
||||
|
11
third_party/build_jemalloc.sh
vendored
11
third_party/build_jemalloc.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="jemalloc"
|
||||
requires_rebuild ${library_path}
|
||||
|
11
third_party/build_jsoncpp.sh
vendored
11
third_party/build_jsoncpp.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="jsoncpp"
|
||||
requires_rebuild ${library_path}
|
||||
|
13
third_party/build_libevent.sh
vendored
13
third_party/build_libevent.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="libevent"
|
||||
requires_rebuild ${library_path}
|
||||
@ -11,7 +20,7 @@ _fpic=""
|
||||
|
||||
make_targets=("event_static")
|
||||
[[ ${build_os_type} == "linux" ]] && make_targets+=("event_pthreads_static")
|
||||
#cmake ../../ -G"Visual Studio 14 2015 Win64" -DEVENT_INSTALL_CMAKE_DIR=cmake -DCMAKE_INSTALL_PREFIX=. -DEVENT__DISABLE_BENCHMARK=ON -DEVENT__LIBRARY_TYPE=BOTH -DEVENT__MSVC_STATIC_RUNTIME=ON -DEVENT__DISABLE_TESTS=ON -DEVENT__DISABLE_SAMPLES=ON -DEVENT__DISABLE_OPENSSL=ON
|
||||
#cmake ../../ -G"Visual Studio 16 2019" -DEVENT_INSTALL_CMAKE_DIR=cmake -DCMAKE_INSTALL_PREFIX=. -DEVENT__DISABLE_BENCHMARK=ON -DEVENT__LIBRARY_TYPE=BOTH -DEVENT__MSVC_STATIC_RUNTIME=ON -DEVENT__DISABLE_TESTS=ON -DEVENT__DISABLE_SAMPLES=ON -DEVENT__DISABLE_OPENSSL=ON
|
||||
cmake_build ${library_path} -DCMAKE_C_FLAGS="${_fpic} -I../../boringssl/include/" -DEVENT__DISABLE_BENCHMARK=ON -DEVENT__LIBRARY_TYPE=STATIC -DEVENT__MSVC_STATIC_RUNTIME=ON -DEVENT__DISABLE_TESTS=ON -DEVENT__DISABLE_SAMPLES=ON -DEVENT__DISABLE_OPENSSL=ON -DCMAKE_BUILD_TYPE="Release"
|
||||
check_err_exit ${library_path} "Failed to build libevent!"
|
||||
set_build_successful ${library_path}
|
||||
|
11
third_party/build_libfvad.sh
vendored
11
third_party/build_libfvad.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="libfvad"
|
||||
requires_rebuild ${library_path}
|
||||
|
2
third_party/build_mysqlconnector.sh
vendored
2
third_party/build_mysqlconnector.sh
vendored
@ -1,7 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
|
||||
library_path="mysqlconnector"
|
||||
requires_rebuild ${library_path}
|
||||
[[ $? -eq 0 ]] && exit 0
|
||||
|
11
third_party/build_opus.sh
vendored
11
third_party/build_opus.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="opus"
|
||||
requires_rebuild ${library_path}
|
||||
|
11
third_party/build_portaudio.sh
vendored
11
third_party/build_portaudio.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="portaudio"
|
||||
requires_rebuild ${library_path}
|
||||
|
11
third_party/build_soxr.sh
vendored
11
third_party/build_soxr.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="soxr"
|
||||
requires_rebuild ${library_path}
|
||||
|
11
third_party/build_spdlog.sh
vendored
11
third_party/build_spdlog.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="spdlog"
|
||||
requires_rebuild ${library_path}
|
||||
|
11
third_party/build_stringvariable.sh
vendored
11
third_party/build_stringvariable.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="StringVariable"
|
||||
requires_rebuild ${library_path}
|
||||
|
11
third_party/build_threadpool.sh
vendored
11
third_party/build_threadpool.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="Thread-Pool"
|
||||
requires_rebuild ${library_path}
|
||||
|
11
third_party/build_tom.sh
vendored
11
third_party/build_tom.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
_fpic=""
|
||||
[[ ${build_os_type} == "linux" ]] && _fpic="-fPIC"
|
||||
|
12
third_party/build_unbound.sh
vendored
12
third_party/build_unbound.sh
vendored
@ -1,12 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
if [[ ${build_os_type} == "win32" ]]; then
|
||||
echo "Windows does not require libunbound"
|
||||
echo "Dont building library"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
library_path="unbound"
|
||||
requires_rebuild ${library_path}
|
||||
[[ $? -eq 0 ]] && exit 0
|
||||
|
11
third_party/build_yaml.sh
vendored
11
third_party/build_yaml.sh
vendored
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../scripts/build_helper.sh
|
||||
[[ -z "${build_helper_file}" ]] && {
|
||||
echo "Missing build helper file. Please define \"build_helper_file\""
|
||||
exit 1
|
||||
}
|
||||
source ${build_helper_file}
|
||||
[[ $build_helpers_defined -ne 1 ]] && {
|
||||
echo "Failed to include build helpers."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
library_path="yaml-cpp"
|
||||
requires_rebuild ${library_path}
|
||||
|
Loading…
Reference in New Issue
Block a user