Skip to content

Commit

Permalink
Merge pull request #78 from samansmink/add-custom-toolchain-script
Browse files Browse the repository at this point in the history
add custom toolchain script template
  • Loading branch information
samansmink authored Aug 27, 2024
2 parents cb7641d + 78b499f commit 0a25cb5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/bootstrap-template.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def replace_everywhere(to_find, to_replace):
replace("./Makefile", to_find.upper(), to_replace.upper())
replace("./README.md", to_find, to_replace)
replace("./extension_config.cmake", to_find, to_replace)
replace("./scripts/setup-custom-toolchain.sh", to_find, to_replace)


if __name__ == "__main__":
Expand Down
11 changes: 11 additions & 0 deletions scripts/setup-custom-toolchain.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

# This is an example script that can be used to install additional toolchain dependencies. Feel free to remove this script
# if no additional toolchains are required

# To enable this script, set the `custom_toolchain_script` option to true when calling the reusable workflow
# `.github/workflows/_extension_distribution.yml` from `https://github.com/duckdb/extension-ci-tools`

# note that the $DUCKDB_PLATFORM environment variable can be used to discern between the platforms
echo "This is the sample custom toolchain script running for architecture '$DUCKDB_PLATFORM' for the quack extension."

0 comments on commit 0a25cb5

Please sign in to comment.