| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Also remove compatibility code for earlier versions.
Closes: https://bugs.gentoo.org/730650
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
x11-libs/libdrm and media-libs/libglvnd fail to find 'nm'
tool on sys-devel/binutils-config[-native-symlinks] system as:
`meson.build:40:0: ERROR: Program(s) ['nm'] not found or not executable`
It's caused by the code that locates the tool as:
`prog_nm = find_program('nm')`.
The change adds 'nm' tool along with other binutils tools.
Closes: https://bugs.gentoo.org/720886
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
| |
This change did not have the desired effect.
Reverts: c21b75bd0b6bf77e2b51c51222b4281729bb1c01.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
| |
Should resolve a problem with inline assembly in media-libs/mesa for
multilib builds.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/721786
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/720866
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/720860
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/720866
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Respect PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR if set before
meson_src_configure.
Add BUILD variants for use in cross-compiles.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
| |
This ensures the variables are still availble if the configure function is
called more than once, as would happen for a multilib build.
Bug: https://bugs.gentoo.org/720818
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/720818
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/720818
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Using a native file avoids putting meson into cross-compiler mode for
multilib builds.
Reference: https://mesonbuild.com/Machine-files.html
Reference: https://mesonbuild.com/Native-environments.html
Bug: https://bugs.gentoo.org/719382
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
meson-0.54.0 introduced a regression in how meson treats the
PKG_CONFIG_PATH variable. Work around this by passing the value to meson
setup on the command line.
Also add sys_root and pkg_config_libdir to cross files per the upstream
documentation.
Bug: https://bugs.gentoo.org/719018
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
| |
These are used by the symbolextractor.py script in meson.
Closes: https://bugs.gentoo.org/717720
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
| |
We have now got meson_use and meson_feature yet the example still
used usex.
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Reviewed-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
| |
This was requested to allow users to pass aribtrary arguments to meson.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
| |
This mainly rearranges some code to make it easier to read.
Also changes the bare 'meson' call to 'meson setup'.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
needs_exe_wrapper tells meson whether the build machine is able to
directly execute the binaries it produces or whether it needs an exe
wrapper (like QEMU). For non-native ABI builds like building 32-bit
libraries on an x86-64 system, we want this set to false to communicate
to meson that the build machine can run the binaries directly.
Reviewed-by: Mike Gilbert <floppym@gentoo.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
|
|
|
|
|
| |
Update the copyright notice on all files that were touched since
January 1st but did not have the notice updated.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/670788
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
| |
This ends up sending spamming stdout/stderr with test output. It's
better to have that redirected to the test log.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
| |
This is necessary for cross compiling for example x11-libs/gdk-pixbuf
Closes: https://github.com/gentoo/gentoo/pull/12168
Signed-off-by: Gerhard Bräunlich <g.braeunlich@disroot.org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
- use "meson test" to run tests instead of "eninja test"
- calculate --num-processes based on ninjaopts or makeopts in the "meson test"
call.
- allow meson_src_test to accept arguments with the emesontestargs array
or passed in the call like meson_src_configure
Closes: https://bugs.gentoo.org/680010
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
|
|
| |
This can be used to simplify controlling meson_options.txt entries
of type 'feature'.
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
|
|
| |
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
|
| |
This eclass dies for all eapis other than 6 or 7, so we don't need to
test for eapis other than 6 or 7 anywhere else in the eclass.
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
| |
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Require newer meson in order to avoid build failures triggered
new meson is not installed soon enough. For example, I experienced
bug 649264 because I upgraded xorg-proto and libxshmfence packages
before meson.
Although meson-0.44.1 is enough to solve bug 649264, Mike Gilbert
suggests to require at least meson-0.45.1, since this version is
the latest stable on all archs.
Closes: https://bugs.gentoo.org/649264
Reviewed-by: Mart Raudsepp <leio@gentoo.org>
Reviewed-by: Mike Gilbert <floppym@gentoo.org>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This reverts commit 0fe549260636840b96dfd3b9f55b5bbf7ea1d6a3.
This function is unnecessary; we can use lists for the relevant
toolchain binaries instead.
|
|
|
|
|
| |
This is used to move flags from CC to CFLAGS, typically during a
multilib build.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
meson gets the build flags from the environment. When cross compiling it
will get the host flags from the cross file. The ebuild was not passing
the correct build flags when cross compiling.
By using tc-env_build the build environment flags are set when calling
meson. This results in not mixing host and build flags:
Example output:
Native C compiler: x86_64-pc-linux-gnu-clang (clang 7.0)
Appending CFLAGS from environment: '-O1 -pipe'
Appending LDFLAGS from environment: ' '
Appending CPPFLAGS from environment: ' '
Cross C compiler: armv7a-cros-linux-gnueabi-clang (clang 7.0)
Host machine cpu family: arm
Host machine cpu: armv7a
Target machine cpu family: arm
Target machine cpu: armv7a
Build machine cpu family: x86_64
Build machine cpu: x86_64
tc-env_build does not seem to load the actual build flags, but it's
better than using host flags as build flags.
See https://bugs.gentoo.org/653902 for upstream patch
BUG=b:78351764
BRANCH=none
TEST=emerge-grunt and verified mosys runs
Change-Id: I802b58cb089b27b9253a034ac00dd183e0f1955a
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Closes: https://bugs.gentoo.org/653902
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use python's shlex to parse the flags and generate an array that is
usable by meson. This will pass the flags correctly when doing a cross
build.
Example cross file output:
[properties]
c_args = ['-O2', '-pipe', '-march=armv8-a+crc', '-mtune=cortex-a57.cortex-a53', '-mfpu=crypto-neon-fp-armv8', '-mfloat-abi=hard', '-g', '-fno-exceptions', '-fno-unwind-tables', '-fno-asynchronous-unwind-tables', '-clang-syntax']
c_link_args = ['-Wl,-O1', '-Wl,-O2', '-Wl,--as-needed']
cpp_args = ['-O2', '-O2', '-pipe', '-march=armv8-a+crc', '-mtune=cortex-a57.cortex-a53', '-mfpu=crypto-neon-fp-armv8', '-mfloat-abi=hard', '-g', '-fno-exceptions', '-fno-unwind-tables', '-fno-asynchronous-unwind-tables', '-clang-syntax']
cpp_link_args = ['-Wl,-O1', '-Wl,-O2', '-Wl,--as-needed']
fortran_args = ['-O2']
objc_args = []
objcpp_args = []
See https://bugs.gentoo.org/653900 for upstream patch.
BUG=b:78351764
TEST=emerge-grunt and emerge-bob and verified the flags are passed to
mosys
BRANCH=none
Change-Id: Ic3d852232ec718141b87bc0729318699f0fad4f8
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Closes: https://bugs.gentoo.org/653900
|
| |
|