0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 20:13:05 +02:00
Commit Graph

35 Commits

Author SHA1 Message Date
James Yonan
a18600423d
vars: added vars-linux-libcpp-dbg for clang debug mode
Signed-off-by: James Yonan <james@openvpn.net>
2020-08-19 18:53:06 +02:00
Arne Schwabe
e6d544b8a5 Add support building deps with clang/libc++
Signed-off-by: Arne Schwabe <arne@openvpn.net>
2020-04-29 11:55:38 +02:00
David Sommerseth
d0ab53a5d5
Merge changes applied to coming Core release 2019-12-10 15:20:49 +01:00
Arne Schwabe
8cc348228c Update OpenSSL to 1.1.1d and fix mac build script
Remove universal libraries and 32 bit support.
Allow user to enable/disable SSL libraries with OSSL=1 MTLS=0
2019-11-27 13:54:57 +01:00
Arne Schwabe
717109f1f4 Build cityhash on OS X and Windows to run pg related unit test
Also increase minimum OS version to 10.12 since the 10.8 target defaults
to libstdc++, which is not available on modern macOS versions

Signed-off-by: Arne Schwabe <arne@openvpn.net>
2019-11-07 09:58:54 +01:00
Arne Schwabe
38a5f2d413 Increase default C++ level on macOS to C++ 14
Signed-off-by: Arne Schwabe <arne@openvpn.net>
2019-11-07 09:58:54 +01:00
Arne Schwabe
438a0ef287 Remove outdated and unused android build files 2019-08-30 00:06:50 +02:00
Arne Schwabe
b107fd9946 Remove unsupported platforms from Android build
The newest Google Android NDK removes support for Android API 14 and 15
(Android 4.0) along with non v7a 32bit Android ABI. The new lowest
API is 16. OpenVPN Connect is already using minAPI=16 so this does
not have an effect on the main user of these build scripts.
2018-11-07 17:23:02 +01:00
Arne Schwabe
d339b684ac Modify build script of lz4/mbedtls to allow src only builds
The modern cmake build for the Android core does build the library
during the build of the core. Prebudiling these libraries is not
necessary.
2018-05-22 19:57:43 +02:00
Antonio Quartulli
071050b5f8
vars-linux-dbg: update linux debug profile
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
2018-04-19 12:09:46 +08:00
Lev Stipakov
3d5dd9ee3b
[OVPN3-199] mac build: do not overwrite DEP_DIR
Signed-off-by: Lev Stipakov <lev@openvpn.net>
2018-03-10 02:28:36 +08:00
Antonio Quartulli
e143bc0a7e [OVPN3-129] android: improve build system in order to perform full build
the scripts/android/build-all script is now in charge of
performing all the steps required to build a full android core.

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
2017-12-22 17:59:39 +08:00
Antonio Quartulli
7299fefa77 [OC-42] Android: specify API level on command line
since the introduction of the unified headers, the API level
has to be specified on the command line, otherwise a development
API level (1000) will be used and will mess up older Android
releases.

On top of that, circumvent a bug in pthread.h by defining __LP32__.

This problem was causing crashes on Android 5 as it wasn't able to
provide libc functions expected by the precompiled ovpn3-core.

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
2017-12-22 17:59:38 +08:00
Antonio Quartulli
d3da3dfeb0 android: build client lib for x86 (for emulator)
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
2017-12-22 17:59:38 +08:00
Antonio Quartulli
4926011513 Android: adapt toolchain scripts to new SDK and move to API 26
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
2017-12-22 17:59:38 +08:00
Antonio Quartulli
712ccfc7dc android: export DEP_DIR via vars files only if not already defined
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
2017-12-22 17:59:38 +08:00
David Nimon
4302651dd8 changes to support android building 2017-12-22 17:59:38 +08:00
James Yonan
ab910df574 Linux build : use ordinary gcc, g++ commands rather than
using explicit GCC 5 commands such as gcc-5, g++-5.
2017-03-18 12:24:54 -06:00
James Yonan
2962445b28 vars : in iOS vars, don't hardcode to a specific version
of the SDK.
2016-08-03 13:56:41 -06:00
James Yonan
6b1c45f37b Updated linux build system to GCC-5. 2016-03-19 02:02:10 -06:00
James Yonan
49ac3f0285 GCC LTO requires that build scripts use gcc-ar and gcc-ranlib. 2015-11-27 17:57:55 -07:00
James Yonan
990fd207ed Added LTO_FLAGS to vars/vars-linux (not live, for
documentation purposes only).
2015-11-27 17:25:59 -07:00
James Yonan
5aae2c74f7 In Linux build config, added -Wno-unused-variable and
-Wno-shift-count-overflow for GCC 5.
2015-11-27 11:42:36 -07:00
James Yonan
128877654a Increased Mac OS X minimum deployment target to 10.8. 2015-11-20 18:56:44 -07:00
James Yonan
51f6a2576a Our use of the C++14 "generalized lambda capture" feature
requires that we build Android with -std=c++1y.
2015-06-28 01:52:12 -06:00
James Yonan
c6a21c827b Boost dependency elimination -- final removal of Boost
dependency.  Asio is now included as a standalone,
header-only dependency.
2015-06-06 10:59:18 -06:00
James Yonan
d442e777de Updated Android build system to support ARM64:
* Updated SDK and NDK to Android 5:
    android-sdk_r24.0.2-macosx.zip
    android-ndk-r10d-darwin-x86_64.bin

* Updated build-toolchain to build both ARM
  and ARM64 toolchains.

* Added ARMv8-a architecture (64-bit) to all
  core builds.

* Patched "Page Size" issue in boost_1_57_0.
2015-02-27 09:20:35 -07:00
James Yonan
e469ff2bf2 Updated Android build vars to use -std=c++11. 2014-12-21 11:02:33 -07:00
James Yonan
1c95639063 Build linux dependencies with LIB_FPIC="-fPIC" so that they can
be linked into Java native module (i.e. libovpncli.so).
2014-08-29 23:27:09 -06:00
James Yonan
f777487748 Added script vars/o3 to set O3 env var. 2014-08-29 18:44:41 -06:00
James Yonan
5539a22684 Repo reorganization: standardize on $O3 representing the top-level
directory that contains core and possibly other components as well.
2014-08-29 18:42:02 -06:00
James Yonan
302046c3ea Updated build scripts for repo reorganization. 2014-08-28 13:33:14 -06:00
James Yonan
9373f515ee Cleaned up top-level directory by moving vars-* and dependency
build scripts to vars and deps.
2014-08-27 16:40:34 -06:00
James Yonan
f585910019 Basic scripting changes for building on Mac OS X. 2011-11-21 06:58:55 +00:00
James Yonan
c90ba6937d Added cleartun benchmark to demonstrate cleartext
tun-based VPN implemented in C++/Asio/Boost.

See test/cleartun/notes.txt.
2011-09-24 22:51:28 +00:00