diff options
| author | 李佳 <[email protected]> | 2024-07-10 06:58:33 +0000 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-07-11 11:23:10 +0800 |
| commit | 4782225f29b6f80ee023297d0a0726c6c798e3d7 (patch) | |
| tree | 35e385984c8312daf1de3f479af5523928626f54 /support | |
Initial commitv1.0.1
Diffstat (limited to 'support')
| -rw-r--r-- | support/CMakeLists.txt | 28 | ||||
| -rw-r--r-- | support/openssl-1.1.1l.tar.gz | bin | 0 -> 9834044 bytes | |||
| -rw-r--r-- | support/sapp-4.3.56.a47b3b5-1.el8.x86_64.rpm | bin | 0 -> 1153208 bytes | |||
| -rw-r--r-- | support/sapp-devel-4.3.56.a47b3b5-1.el8.x86_64.rpm | bin | 0 -> 3248416 bytes | |||
| -rw-r--r-- | support/stellar-on-sapp-2.1.1.7875675-1.el8.x86_64.rpm | bin | 0 -> 36124 bytes |
5 files changed, 28 insertions, 0 deletions
diff --git a/support/CMakeLists.txt b/support/CMakeLists.txt new file mode 100644 index 0000000..6c08350 --- /dev/null +++ b/support/CMakeLists.txt @@ -0,0 +1,28 @@ +# CMakeFiles for 3rd vendor library + +include(ExternalProject) + +### OpenSSL 1.1.1 +ExternalProject_Add(OpenSSL PREFIX openssl + URL ${CMAKE_CURRENT_SOURCE_DIR}/openssl-1.1.1l.tar.gz + URL_MD5 ac0d4387f3ba0ad741b0580dd45f6ff3 + CONFIGURE_COMMAND ./Configure linux-x86_64 --prefix=<INSTALL_DIR> --openssldir=<INSTALL_DIR>/lib/ssl enable-ec_nistp_64_gcc_128 no-shared + BUILD_COMMAND ${MAKE_COMMAND} + INSTALL_COMMAND make install_sw + BUILD_IN_SOURCE 1) + +ExternalProject_Get_Property(OpenSSL INSTALL_DIR) +set(OPENSSL_INCLUDE_DIRECTORIES ${INSTALL_DIR}/include) +set(OPENSSL_LINK_DIRECTORIES ${INSTALL_DIR}/lib) +set(OPENSSL_PKGCONFIG_PATH ${INSTALL_DIR}/lib/pkgconfig/) +file(MAKE_DIRECTORY ${INSTALL_DIR}/include) + +add_library(openssl-crypto-static STATIC IMPORTED GLOBAL) +add_dependencies(openssl-crypto-static OpenSSL) +set_property(TARGET openssl-crypto-static PROPERTY IMPORTED_LOCATION ${INSTALL_DIR}/lib/libcrypto.a) +set_property(TARGET openssl-crypto-static PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${INSTALL_DIR}/include) + +add_library(openssl-ssl-static STATIC IMPORTED GLOBAL) +add_dependencies(openssl-ssl-static OpenSSL) +set_property(TARGET openssl-ssl-static PROPERTY IMPORTED_LOCATION ${INSTALL_DIR}/lib/libssl.a) +set_property(TARGET openssl-ssl-static PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${INSTALL_DIR}/include)
\ No newline at end of file diff --git a/support/openssl-1.1.1l.tar.gz b/support/openssl-1.1.1l.tar.gz Binary files differnew file mode 100644 index 0000000..81be7f9 --- /dev/null +++ b/support/openssl-1.1.1l.tar.gz diff --git a/support/sapp-4.3.56.a47b3b5-1.el8.x86_64.rpm b/support/sapp-4.3.56.a47b3b5-1.el8.x86_64.rpm Binary files differnew file mode 100644 index 0000000..58e3f92 --- /dev/null +++ b/support/sapp-4.3.56.a47b3b5-1.el8.x86_64.rpm diff --git a/support/sapp-devel-4.3.56.a47b3b5-1.el8.x86_64.rpm b/support/sapp-devel-4.3.56.a47b3b5-1.el8.x86_64.rpm Binary files differnew file mode 100644 index 0000000..9affbf6 --- /dev/null +++ b/support/sapp-devel-4.3.56.a47b3b5-1.el8.x86_64.rpm diff --git a/support/stellar-on-sapp-2.1.1.7875675-1.el8.x86_64.rpm b/support/stellar-on-sapp-2.1.1.7875675-1.el8.x86_64.rpm Binary files differnew file mode 100644 index 0000000..695d6bc --- /dev/null +++ b/support/stellar-on-sapp-2.1.1.7875675-1.el8.x86_64.rpm |
