Skip to content

external_deps: add download action to download and extract the external deps tarball like CMake#1985

Open
illwieckz wants to merge 2 commits into
masterfrom
illwieckz/download-deps
Open

external_deps: add download action to download and extract the external deps tarball like CMake#1985
illwieckz wants to merge 2 commits into
masterfrom
illwieckz/download-deps

Conversation

@illwieckz

Copy link
Copy Markdown
Member

Add download action to download and extract the external deps tarball like CMake.

Allows to do:

./build.sh macos-amd64-default download

It would download https://dl.unvanquished.net/deps/macos-amd64-default_11.tar.xz and extract it as external_deps/macos-amd64-default_11.

The reason why I'm doing this is that I'm upgrading the docker-based release scripts to use a newer Darling version (in hope I can install a newer XCode supporting arm64) and there is a regression in the latest version of Darling: everything works but the CMake builtin download. CMake probably uses an buggy library/feature that curl doesn't.

By downloading and extracting the deps before calling CMake, everything works.

Implementing it in external_deps/build.sh ensures the version, directory name, etc. are always correct.

@illwieckz illwieckz force-pushed the illwieckz/download-deps branch from 3ef92aa to 1e2392b Compare June 22, 2026 17:00
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.

1 participant