mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 15:49:11 +00:00
Devcontainer: Set VCPKG_FORCE_SYSTEM_BINARIES when building cache
vcpkg requires this flag to be set when building on non-x86 Linux, as they don't ship enough cached tools for those platforms. Put another way, we must allow system-installed versions of tools such as CMake, Ninja, and pkg-config into the vcpkg build process on these platforms.
This commit is contained in:
parent
de7ca7b157
commit
dda1573746
Notes:
github-actions[bot]
2025-02-18 22:34:46 +00:00
Author: https://github.com/ADKaster
Commit: dda1573746
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3192
1 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,14 @@ set -e
|
||||||
# FIXME: Add some options to make this more flexible and usable by other projects
|
# FIXME: Add some options to make this more flexible and usable by other projects
|
||||||
# FIXME: Find a way to do this without cloning ladybird
|
# FIXME: Find a way to do this without cloning ladybird
|
||||||
|
|
||||||
|
case "$(uname -m)" in
|
||||||
|
x86_64|x64)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
export VCPKG_FORCE_SYSTEM_BINARIES=1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
cd /tmp
|
cd /tmp
|
||||||
|
|
||||||
CACHE_DIR=/usr/local/share/vcpkg-binary-cache
|
CACHE_DIR=/usr/local/share/vcpkg-binary-cache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue