Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
small fixes for haiku
|
|
custom target: Consider all build depends while serializing
|
|
Fix MemoryError in python3 module:
https://ci.appveyor.com/project/jpakkane/meson/build/4334/job/aowc3iiq8yfs02bi
It's probably caused by improper mixing of MT and non-MT libraries,
but this is indicative of how people use Meson in MSYS2 anyway.
|
|
Using NotImplementedError throws an ugly traceback to the user which
does not print the line number and other information making it
impossible to figure out what's causing it.
Also override it for internal dependencies because self.name is "null"
for them.
|
|
The sysconfig config variables are different on MSYS2 and the paths
are also different. We now also use the full path to the import or
static library instead of using -Lfoo -lpython35 etc.
Also obey the value of the 'static' keyword argument.
|
|
sysconfig.get_platform() returns 'mingw' with MSYS2, so we need to
use some other method; in this case I chose to use the CC that
Python was compiled with, which is a relatively reliably indicator
unless people start using Python on Windows compiled with Clang or
something.
|
|
/usr/bin/env does not exist on Haiku since there's no /usr. The actual
location is /bin/env. Detect that case and directly use the
interpreter being passed to `env` in the shebang.
Also reorganize the Windows special cases which does the same thing.
|
|
It no longer removes the target tree before copying files.
|
|
|
|
Grammar is still a bit fractured, but I'm not entirely sure what it's trying to say.
|
|
c9351ce30c03d107279090da7825096951a705d3 introduced the type as `array`,
so mintro should expose it under the same name.
(while at it, rename test 169 to be coherent)
|
|
|
|
|
|
|
|
Haiku has pthreads, but they are part of the standard C library, and do
not need either special compiler or linker flags.
|
|
|
|
|
|
|
|
|
|
Created disabler object type
|
|
|
|
Document dependency('', required:false) usage.
Avoid emitting 'Dependency found: NO'.
|
|
|
|
|
|
Fixes #2633
|
|
If many binary packages are installed, pick the one built with the correct
toolset. Fixes #2532
|
|
Use regex to substitute template strings
|
|
dependencies: Allow pkg-config to define variables
|
|
Also error on placeholder index out of range.
|
|
Various MSVC library search fixes
|
|
|
|
|
|
by leaving out the choices keyword.
|
|
|
|
The MinGW toolchain can read MinGW paths, but Python cannot and we
sometimes need to parse the libs and cflags manually (for static-only
library searching, for instance). The MinGW toolchain can always read
Windows paths with `/` as path separater, so just use that.
|
|
The compiler is x86_64-foo-bar-gcc/g++, so also check for that.
|
|
Otherwise people will accidentally append to it.
|
|
The .a library was being built with `ar` which is not the right
static archiver, it's supposed to be something like
x86_64-w64-mingw32-ar or whatever the target-triple is.
Try using the built-in static linker detection instead of doing it
manually.
|
|
For the same reason as the library paths.
|
|
Also try harder to find a compiler that dependencies can use.
This means that in C++-only projects we will use the C++ compiler for
compiler checks, which can be important.
|
|
We don't need to use that, and it causes build failures when code
actually uses the environment.
|
|
We can't know if the .lib is a static or import library, but that's
a problem in general too. The only way to figure out if a specific
file is an import or a static library is to dump its symbols and check
if it starts with __imp or not.
Even then, some libs are hybrid import and static, i.e., they contain
references to DLLs for some symbols and also provide implementations
for other symbols so this is a difficult problem.
Closes https://github.com/mesonbuild/meson/issues/2659
|
|
MSVC cannot handle MinGW-esque /c/foo paths, convert them to C:/foo.
We cannot resolve other paths starting with / like /home/foo so leave
them as-is so the user gets an error/warning from the compiler/linker.
These paths are commonly found in pkg-config files generated using
Autotools inside MinGW/MSYS and MinGW/MSYS2 environments.
Currently this is only done for PkgConfigDependency.
|
|
Fix many things have have been slightly broken in OSX
|
|
As the Vala compiler does not define thread_flags() and
thread_link_flags(), depending on threads in any capacity will cause Meson to
fail.
Fixes #2720.
|
|
|
|
|
|
Add an array type to user options
|
|
|