-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build duckdb_java linux-amd64-musl #120
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Main question: can we get away from static linking the libc++ ?
I see that working with, question is if we can manage without.
image: alpine:latest | ||
env: | ||
GEN: ninja | ||
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true |
I think this is no more supported / not useful
# Check if the current system is Alpine Linux | ||
function(is_alpine_linux RESULT) | ||
if(UNIX AND NOT APPLE) | ||
if(EXISTS "/etc/os-release") | ||
file(READ "/etc/os-release" OS_RELEASE_CONTENTS) | ||
string(FIND "${OS_RELEASE_CONTENTS}" "Alpine Linux" ALPINE_FOUND) | ||
|
||
if(ALPINE_FOUND GREATER -1) | ||
set(${RESULT} TRUE PARENT_SCOPE) | ||
else() | ||
set(${RESULT} FALSE PARENT_SCOPE) | ||
endif() | ||
else() | ||
set(${RESULT} FALSE PARENT_SCOPE) | ||
endif() | ||
else() | ||
set(${RESULT} FALSE PARENT_SCOPE) | ||
endif() | ||
endfunction() | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Would you mind sending a PR with this also to duckdb/duckdb ?
Current detection is somehow worse, I think this might be handy in general.
@@ -107,7 +107,7 @@ jobs: | |||
# ./scripts/upload-assets-to-staging.sh github_release duckdb_jdbc-linux-aarch64.jar | |||
|
|||
- uses: actions/upload-artifact@v3 | |||
with: | |||
with: duckdb_jdbc-linux-aarch64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't look valid, can you please remove it?
Build duckdb_java for Alpine linux on amd64
(arm64 is possible but takes 4+ hours on the default GHA runner, so skipping for now)