feat: link OpenSSL#12030
Open
algebraic-dev wants to merge 26 commits intomasterfrom
Open
Conversation
|
Mathlib CI status (docs):
|
Collaborator
|
Reference manual CI status:
|
9e27f77 to
bb745f8
Compare
|
Mathlib CI status (docs):
|
TwoFX
reviewed
Mar 30, 2026
TwoFX
reviewed
Apr 13, 2026
9a4bf51 to
8920478
Compare
TwoFX
reviewed
May 4, 2026
Comment on lines
+381
to
+383
| if(CMAKE_SYSTEM_NAME MATCHES "Linux") | ||
| string(APPEND LEANSHARED_LINKER_FLAGS " -Wl,-rpath,\\$$ORIGIN") | ||
| endif() |
Comment on lines
+385
to
+390
| if(CMAKE_SYSTEM_NAME MATCHES "Windows") | ||
| string(APPEND LEANSHARED_LINKER_FLAGS " -lcrypt32 -lgdi32") | ||
| if(NOT LEAN_STANDALONE) | ||
| string(APPEND LEAN_EXTRA_LINKER_FLAGS " -lcrypt32 -lgdi32") | ||
| endif() | ||
| endif() |
Member
There was a problem hiding this comment.
Why do we need special handling for Windows? Does OPENSSL_LIBRARIES_STR not contain -lcrypt32 -lgdi32 on Windows?
| # and apparently since Sonoma does not do so implicitly either | ||
| install_name_tool -id /usr/lib/libc++.dylib stage1/lib/libc/libc++.dylib | ||
| echo -n " -DLEAN_STANDALONE=ON" | ||
| echo -n " -DOPENSSL_INCLUDE_DIR=$OPENSSL/include -DOPENSSL_SSL_LIBRARY=$OPENSSL/lib/libssl.a -DOPENSSL_CRYPTO_LIBRARY=$OPENSSL/lib/libcrypto.a" |
Member
There was a problem hiding this comment.
I think we discussed that this should be removed in prepare-llvm-linux.sh, and I believe the same applies here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR links OpenSSL