Skip to content

Commit 1a5318e

Browse files
authored
Removal of openssl dependencies (#174)
* Removal of openssl dependencies * minor
1 parent cfee8ef commit 1a5318e

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

plugins/spank_qrmi/CMakeLists.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,18 +102,8 @@ add_library (spank_qrmi MODULE spank_qrmi.c buf.c strbuf.c)
102102
add_dependencies(spank_qrmi QRMI)
103103
set_target_properties (spank_qrmi PROPERTIES PREFIX "" SUFFIX "" OUTPUT_NAME "spank_qrmi.so")
104104

105-
# -----------------------
106-
# OpenSSL selection logic
107-
# -----------------------
108-
if(DEFINED ENV{OPENSSL_STATIC})
109-
set(SSL_LIB "")
110-
set(CRYPTO_LIB "")
111-
else()
112-
set(SSL_LIB ssl)
113-
set(CRYPTO_LIB crypto)
114-
endif()
115105
target_link_libraries(spank_qrmi
116-
PRIVATE ${SSL_LIB} ${CRYPTO_LIB} dl pthread m ${QRMI_SOURCE_DIR}/target/release/libqrmi.a
106+
PRIVATE dl pthread m ${QRMI_SOURCE_DIR}/target/release/libqrmi.a
117107
)
118108
target_include_directories(spank_qrmi
119109
PRIVATE ${QRMI_SOURCE_DIR}

plugins/spank_qrmi/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,10 @@ This is a [SPANK plugin](https://slurm.schedmd.com/spank.html) that configures a
88
* Rust compiler 1.86 or above [Link](https://www.rust-lang.org/tools/install)
99
* A C compiler: for example, GCC(gcc) on Linux and Clang(clang-tools-extra) for Rust unknown targets/cross compilations. QRMI and its Spank plugin are compatible with a compiler conforming to the C11 standard.
1010
* make/cmake (make/cmake RPM for RHEL compatible OS)
11-
* openssl (openssl-devel RPM for RHEL compatible OS)
12-
* zlib (zlib-devel RPM for RHEL compatible OS)
1311
* Slurm header files(slurm/slurm.h etc.) must be available on your host
1412

1513
* Runtime requires the following tools:
1614
* gcc (libgcc RPM for RHEL compatible OS)
17-
* openssl (openssl-libs RPM for RHEL compatible OS)
18-
* zlib (zlib RPM for RHEL compatible OS)
1915

2016

2117
## How to build

0 commit comments

Comments
 (0)