Skip to content

Commit 9864494

Browse files
authored
Merge pull request #5 from rgommers/unvendor
Merge Meson 1.2.3
2 parents 067efcb + 65dcb80 commit 9864494

File tree

102 files changed

+781
-278
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+781
-278
lines changed

.github/workflows/msys2.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ jobs:
5151
TOOLCHAIN: clang
5252
env:
5353
MESON_CI_JOBNAME: msys2-${{ matrix.NAME }}
54-
# XXX: For some reason enabling jit debugging "fixes" random python crashes
55-
# see https://github.com/msys2/MINGW-packages/issues/11864
56-
MSYS: "winjitdebug"
5754

5855
defaults:
5956
run:

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ build system.
1515
- [Python](https://python.org) (version 3.7 or newer)
1616
- [Ninja](https://ninja-build.org) (version 1.8.2 or newer)
1717

18+
Latest Meson version supporting previous Python versions:
19+
- Python 3.6: **0.61.5**
20+
- Python 3.5: **0.56.2**
21+
- Python 3.4: **0.45.1**
22+
1823
#### Installing from source
1924

2025
Meson is available on [PyPi](https://pypi.python.org/pypi/meson), so

ci/ciimage/build.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,14 @@ def copy_meson(self) -> None:
137137
shutil.copytree(
138138
self.meson_root,
139139
self.temp_dir / 'meson',
140+
symlinks=True,
140141
ignore=shutil.ignore_patterns(
141142
'.git',
142143
'*_cache',
143144
'__pycache__',
144145
# 'work area',
145146
self.temp_dir.name,
146-
)
147+
),
147148
)
148149

149150
def do_test(self, tty: bool = False) -> None:
@@ -175,7 +176,7 @@ def do_test(self, tty: bool = False) -> None:
175176
else:
176177
test_cmd = [
177178
self.docker, 'run', '--rm', '-t', 'meson_test_image',
178-
'/bin/bash', '-c', 'source /ci/env_vars.sh; cd meson; ./run_tests.py $CI_ARGS'
179+
'/bin/bash', '-xc', 'source /ci/env_vars.sh; cd meson; ./run_tests.py $CI_ARGS'
179180
]
180181

181182
if subprocess.run(test_cmd).returncode != 0 and not tty:

ci/ciimage/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ dub_fetch() {
3939
}
4040

4141
install_minimal_python_packages() {
42-
rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED
42+
rm -f /usr/lib*/python3.*/EXTERNALLY-MANAGED
4343
python3 -m pip install "${base_python_pkgs[@]}" $*
4444
}
4545

4646
install_python_packages() {
47-
rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED
47+
rm -f /usr/lib*/python3.*/EXTERNALLY-MANAGED
4848
python3 -m pip install "${base_python_pkgs[@]}" "${python_pkgs[@]}" $*
4949
}

ci/ciimage/opensuse/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pkgs=(
99
ninja make git autoconf automake patch libjpeg-devel
1010
elfutils gcc gcc-c++ gcc-fortran gcc-objc gcc-obj-c++ vala rust bison flex curl lcov
1111
mono-core gtkmm3-devel gtest gmock protobuf-devel wxGTK3-3_2-devel gobject-introspection-devel
12-
itstool gtk3-devel java-15-openjdk-devel gtk-doc llvm-devel clang-devel libSDL2-devel graphviz-devel zlib-devel zlib-devel-static
12+
itstool gtk3-devel java-17-openjdk-devel gtk-doc llvm-devel clang-devel libSDL2-devel graphviz-devel zlib-devel zlib-devel-static
1313
#hdf5-devel netcdf-devel libscalapack2-openmpi3-devel libscalapack2-gnu-openmpi3-hpc-devel openmpi3-devel
1414
doxygen vulkan-devel vulkan-validationlayers openssh mercurial gtk-sharp3-complete gtk-sharp2-complete libpcap-devel libgpgme-devel
1515
libqt5-qtbase-devel libqt5-qttools-devel libqt5-linguist libqt5-qtbase-private-headers-devel

cross/armclang-linux.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ c = ['/opt/arm/developmentstudio-2019.0/sw/ARMCompiler6.12/bin/armclang', '--tar
2222
#cpp = '/usr/bin/arm-linux-gnueabihf-g++'
2323
ar = '/opt/arm/developmentstudio-2019.0/sw/ARMCompiler6.12/bin/armar'
2424
#strip = '/usr/arm-linux-gnueabihf/bin/strip'
25-
#pkgconfig = '/usr/bin/arm-linux-gnueabihf-pkg-config'
25+
#pkg-config = '/usr/bin/arm-linux-gnueabihf-pkg-config'
2626

2727
[host_machine]
2828
system = 'baremetal'

cross/linux-mingw-w64-32bit.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cpp = '/usr/bin/i686-w64-mingw32-g++'
44
objc = '/usr/bin/i686-w64-mingw32-gcc'
55
ar = '/usr/bin/i686-w64-mingw32-ar'
66
strip = '/usr/bin/i686-w64-mingw32-strip'
7-
pkgconfig = '/usr/bin/i686-w64-mingw32-pkg-config'
7+
pkg-config = '/usr/bin/i686-w64-mingw32-pkg-config'
88
windres = '/usr/bin/i686-w64-mingw32-windres'
99
exe_wrapper = 'wine'
1010
ld = '/usr/bin/i686-w64-mingw32-ld'

cross/linux-mingw-w64-64bit.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ cpp = '/usr/bin/x86_64-w64-mingw32-g++'
44
objc = '/usr/bin/x86_64-w64-mingw32-gcc'
55
ar = '/usr/bin/x86_64-w64-mingw32-ar'
66
strip = '/usr/bin/x86_64-w64-mingw32-strip'
7-
pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config'
7+
pkg-config = '/usr/bin/x86_64-w64-mingw32-pkg-config'
88
windres = '/usr/bin/x86_64-w64-mingw32-windres'
9-
exe_wrapper = 'wine64'
9+
exe_wrapper = 'wine'
1010
cmake = '/usr/bin/cmake'
1111

1212
[properties]

cross/none.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ fc = ['false']
1515
objc = ['false']
1616
objcpp = ['false']
1717
ar = ['false']
18-
pkgconfig = ['false']
18+
pkg-config = ['false']
1919
cmake = ['false']

cross/ubuntu-armhf.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cpp = ['/usr/bin/arm-linux-gnueabihf-g++']
66
rust = ['rustc', '--target', 'arm-unknown-linux-gnueabihf', '-C', 'linker=/usr/bin/arm-linux-gnueabihf-gcc-7']
77
ar = '/usr/arm-linux-gnueabihf/bin/ar'
88
strip = '/usr/arm-linux-gnueabihf/bin/strip'
9-
pkgconfig = '/usr/bin/arm-linux-gnueabihf-pkg-config'
9+
pkg-config = '/usr/bin/arm-linux-gnueabihf-pkg-config'
1010
ld = '/usr/bin/arm-linux/gnueabihf-ld'
1111

1212
[built-in options]

0 commit comments

Comments
 (0)