Commit Graph

136 Commits (52f3081a40d94b9944bb82b847be4e08eaf57c23)

Author SHA1 Message Date
yangfl 52f3081a40 fix typo 6 years ago
Dmitry Marakasov 41e8ab5383 Limit tampering with standard C++ library to Linux
Otherwise it breaks e.g. FreeBSD build where it is not needed at all
6 years ago
yangfl dec848f072 use builtin __AVX__ and __AES__ macros and reduce code duplication 6 years ago
orignal 86c1984982 NTCP2 added 6 years ago
orignal cd0f75106a moved Ed25519 away from signature 6 years ago
orignal 516f140bef ntcp2 crypto added 6 years ago
R4SAS ce8d701ecb
WITH_LIBRARY usage
closes #1146. Need to be checked before.
6 years ago
Fabrice Fontaine 1d934bd543 Install libi2pdclient
When building with -DBUILD_SHARED_LIBS=ON, libi2pdclient is not
installed on target so install it by calling install. Moreover, rename
i2pdclient to libi2pdclient so library is installed with correct name.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
6 years ago
Fabrice Fontaine 6d15be9a32 Fix cmake error when -DBUILD_SHARED_LIBS=ON
Fixes "CMake Error: TARGETS given no LIBRARY DESTINATION for shared
library target" by adding LIBRARY parameter to INSTALL call

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
6 years ago
orignal f5349dcef9
Merge pull request #1115 from majestrate/aesni-avx-runtime-detect
AESNI/AVX runtime detection [WIP]
6 years ago
Jeff Becker 2277dcb069
add cpu.cpp to cmake 6 years ago
orignal ca057177c7
Merge pull request #1110 from radfish/PR--remove-openssl-1.1-warning
cmake: remove warning for OpenSSL 1.1
6 years ago
redfish f1b8742782 cmake: remove warning for OpenSSL 1.1
Works fine.
6 years ago
redfish 7786c97330 cmake: add stdlib args for clang build on Linux
Otherwise linking fails with undefined symbol ... basic_string ... and
libstdc++: DSO not on included in link command.

or with
Host compiler must support std::atomic!
which is due to
undefined reference to `__gxx_personality_v0' and __cxa_begin_catch and
std::terminate()

This was already patched in 7b537a4e94
PR #972 but it got lost, and also needed some tweaking.

Thested with Clan 5.0.1 on Arch Linux (on armv7h).
6 years ago
yangfl 951f8972c7 replace non-working CheckLibcxxAtomic 6 years ago
yangfl e3238ff75c CMakeLists: autodetect libatomic 6 years ago
Jeff Becker c68c5af856
fix lib name 7 years ago
Jeff Becker 5d557003b6
include cmake stuff 7 years ago
Jeff Becker 3b8c3c1346
try fixing issue #897 7 years ago
Dmitry Marakasov 44d6d4405e
Don't meddle with stdlib
Forgotten part of #1014: -stdlib should not be changed. It breaks build on e.g. FreeBSD where libc++ is used.
7 years ago
R4SAS 6d01a3a7d1 fix (quote) 7 years ago
orignal b71e20dfa3
changed back 7 years ago
orignal 474158dd18
rollback. build error 7 years ago
Dmitry Marakasov 4485d6fdf4
Fix flags
-stdlib should not be changed. It breaks build on e.g. FreeBSD where libc++ is used.
7 years ago
R4SAS 100f3380c4
fix upnp definitions and make cmake silent (#999) 7 years ago
orignal 88ba494701 fixed build error 7 years ago
redfish 291f28fcce cmake: add stdlib args for clang build on Linux
Otherwise linking fails with undefined symbol ... basic_string ... and
libstdc++: DSO not on included in link command.
7 years ago
redfish 8179e7dbf8 cmake: issue a non-fatal warning for openssl >=1.1 7 years ago
redfish 94bba69dee cmake: check openssl version
See #835 for memory leak issues with OpenSSL >= 1.1
7 years ago
Darknet Villain 05c2adeefd fix typo 7 years ago
Jeff Becker 4e5c2ff620 add AVX option to cmake build system 7 years ago
Jeff Becker 8a3bb50143 fix cmake compile error with websockets 7 years ago
Jeff Becker cf3f8a796a fix path 7 years ago
Jeff Becker 4cc3b7f9fb restructure build to separate the 3 main components into 3 subdirectories
libi2pd for core libs

libi2pd_client for i2pd client libs

daemon for i2pd daemon libs
7 years ago
Jeff Becker 9b62f238ed add option for client tunnels to build tunnels such that OBEP==IBGW 7 years ago
orignal af2a3f3a65 Gost.cpp added 7 years ago
Jeff Becker 0d83a34cfd add initial WebSOCKS implementation 8 years ago
Jeff Becker 79e1d54e4c implement simple bloom filter 8 years ago
atnaguzin 3a3b0cc847 New logo 8 years ago
Jeff Becker e5f5f96771
merge webui code 8 years ago
Jeff Becker 9575f70f38
fix conflicts 8 years ago
Jeff Becker b4e9ed7d18 add web socket ui 8 years ago
Jeff Becker 6688f9a5ef
update cmake for i2lua 8 years ago
brain5lug 5a796a86d7 thread sanitizer configuration option have been added 8 years ago
orignal 315f672254 Timestamp.cpp added 8 years ago
brain5lug 6c7316408b address sanitizer configuration option have been added 8 years ago
Solomenchuk, Vlad f3a61007a7 build instruction for iOS 8 years ago
Dmitry Marakasov 959843ee9c Find miniupnpc library as well as header 8 years ago
Jeff Becker 2e74d91ddc
try fixing https://github.com/PurpleI2P/i2pd/issues/612 8 years ago
hagen fac6229e43 * cmake debug (closes #562) 8 years ago