Skip to content
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

setup bundled build #1

Merged

Conversation

0xcaff
Copy link

@0xcaff 0xcaff commented Aug 16, 2024

ok, initial attempt at setting up a bundled build. the entrypoint to generate the bundled assets is crates/libduckdb-sys/upgrade.sh. see the commit messages for detailed information about each of the changes

outstanding issues

testing

  • run crates/libduckdb-sys/upgrade.sh
  • ensure the updated bundled files are built and tests pass

0xcaff added 13 commits August 16, 2024 12:21
some paths were incorrect
optional dependency too
seems like all the scripts assume the submodule exists but its was being gitignored incorrectly
shell early exit and some conditional compilation issues
bash -e is not valid. https://explainshell.com/explain/1/bash i'm guessing this is supposed to actually be set -e or something

removing it everywhere
if there is a need for these to be duplicated, we should share them instead

i think all this stuff should go into a makefile or something which composes a bit better but this works for now
i want to comment out the test so i can use this even if the tests are failing
this is breaking everything
@samansmink
Copy link
Owner

Thanks @0xcaff! I will just merge this and continue working in samansmink:poc-rust-c-extension-api.

@samansmink samansmink merged commit f07a11d into samansmink:poc-rust-c-extension-api Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants