-
-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2549 from pygame-community/ankith26-deps-updates3
Install meson+ninja on buildscripts, bump glib
- Loading branch information
Showing
13 changed files
with
138 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[constants] | ||
macos_ver = ['-mmacosx-version-min=11.0'] | ||
macos_arch = ['-arch', 'arm64'] | ||
|
||
[host_machine] | ||
system = 'darwin' | ||
cpu_family = 'aarch64' | ||
cpu = 'arm64' | ||
endian = 'little' | ||
|
||
[binaries] | ||
c = ['clang'] | ||
cpp = ['clang++'] | ||
objc = ['clang'] | ||
objcpp = ['clang++'] | ||
ar = ['ar'] | ||
strip = ['strip'] | ||
pkgconfig = ['pkg-config'] | ||
|
||
[built-in options] | ||
c_args = macos_arch + macos_ver | ||
cpp_args = macos_arch + macos_ver + ['-stdlib=libc++'] | ||
objc_args = macos_arch + macos_ver | ||
objcpp_args = macos_arch + macos_ver + ['-stdlib=libc++'] | ||
c_link_args = macos_arch + macos_ver | ||
cpp_link_args = macos_arch + macos_ver | ||
objc_link_args = macos_arch + macos_ver | ||
objcpp_link_args = macos_arch + macos_ver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[constants] | ||
macos_ver = ['-mmacosx-version-min=10.11'] | ||
|
||
[binaries] | ||
c = ['clang'] | ||
cpp = ['clang++'] | ||
objc = ['clang'] | ||
objcpp = ['clang++'] | ||
ar = ['ar'] | ||
strip = ['strip'] | ||
pkgconfig = ['pkg-config'] | ||
|
||
[built-in options] | ||
c_args = macos_ver | ||
cpp_args = macos_ver + ['-stdlib=libc++'] | ||
objc_args = macos_ver | ||
objcpp_args = macos_ver + ['-stdlib=libc++'] | ||
c_link_args = macos_ver | ||
cpp_link_args = macos_ver | ||
objc_link_args = macos_ver | ||
objcpp_link_args = macos_ver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
buildconfig/manylinux-build/docker_base/buildtools/install.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
set -e -x | ||
|
||
cd $(dirname `readlink -f "$0"`) | ||
|
||
# This file installs tools (cmake and meson+ninja) needed to build dependencies | ||
# Also installs setuptools to make sure distutils is available (on newer python | ||
# versions) because some builds may need it. | ||
# cmake is also installed via pip because it is easier than maintaining a | ||
# separate build script for it | ||
|
||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then | ||
export PG_LINUX_EXTRA_FLAGS="--user" | ||
fi | ||
|
||
# pin versions for stability (remember to keep updated) | ||
python3 -m pip install $PG_LINUX_EXTRA_FLAGS \ | ||
setuptools==68.2.2 cmake==3.27.6 meson==1.2.2 ninja==1.11.1 | ||
|
||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then | ||
cp /root/.local/bin/* /usr/bin | ||
fi |
23 changes: 0 additions & 23 deletions
23
buildconfig/manylinux-build/docker_base/cmake/build-cmake.sh
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
280a46c2af13283a08c15ff0b4f5492659c2884521930600ad45310ed181c44a878ad8f9b36bae68ed6e7d92db6f1630f7bf015148c513dc317d25807f13abb0 glib-2.56.4.tar.xz | ||
aa9ed9195951b00ac8221e958ea337fbda82621a862ef8f29dc2ea396a6253ce51c2a0a498dfa4e12642f1836f85f9564f09991979ae85c5ed4368355d857376 glib-2.78.1.tar.xz |
16 changes: 0 additions & 16 deletions
16
buildconfig/manylinux-build/docker_base/glib/macos_arm64.cache
This file was deleted.
Oops, something went wrong.