Age | Commit message (Collapse) | Author | Files | Lines |
|
Otherwise, passing result of custom_target() to jar() target is ignored
and won't be compiled resulting in build fail.
|
|
Closes #4281.
|
|
Don't check the build machine to determine a dependency whose availability
is static property of the host machine
|
|
Make some detections I can't see how to make work in a cross-environment
fail.
|
|
This reduces the build time about 2 sec. The result itself is not hard
to calculate. However, persistent join calls with the same 2 strings are
not that usefull. This also caused about 600'000 calls to
get_target_dir, we are now down to 60'000 calls form this function to
get_target_dir.
|
|
reduce the amount of access calls to the os.
This safes ~1 sec. build time
|
|
|
|
|
|
Support vs_module_defs when cross-compiling to Windows with clang.
Fixes #4434.
|
|
Replace several checks against GCC_MINGW or (GCC_MINGW, GCC_CYGWIN) with
is_windows_compiler instead, so that clang and other gcc-like compilers
using MinGW work appropriately with vs_module_defs, c_winlibs, and
cpp_winlibs.
Fixes #4434.
|
|
mark .icns files as binary so git will stop trying to fix the line
endings, and recommit the remaining .crlf files
|
|
|
|
It is a common idiom to look for a function or a specific type or
a header in various locations/libraries, and it can be confusing to
see the (seemingly) identical compiler check being done multiple
times.
Now we print the dependencies being used when a compiler check is run
Before:
Checking for function "fbGetDisplay": NO
Checking for type "GLeglImageOES": YES
Checking for function "asinh": YES
After:
Checking for function "fbGetDisplay" with dependency egl: NO
Checking for type "GLeglImageOES" with dependencies glesv2, gl: YES
Checking for function "asinh" with dependency -lm: YES
|
|
If a subproject is not required and fails during its configuration, the
parent project continues, but should not include any target or state set
by the failed subproject. This fix ninja still trying to build targets
generated by subprojects before they fail in their configuration.
The 'build' object is now per-interpreter instead of being global. Once
a subproject interpreter succeed, values from its 'build' object are
merged back into its parent 'build' object.
|
|
This allows using the imperfect profiles generated by multithreaded
programs. Without the argument, GCC fails to load them.
Clang just ignores the argument AFAICT.
Fixes https://github.com/mesonbuild/meson/issues/2159
|
|
Don't make single element tuple
|
|
|
|
|
|
Closes #1413.
|
|
|
|
We do this with `std_ver=vc++NM` - `vc++` does not add `/permissive-`,
while `std_ver=c++NM` adds `/permissive-`.
|
|
Like on windows, where shared llvm isn't support.
|
|
Replace '\\' with \\\\ in config values args. Otherwise shlex will
helpfully remove path separators on windows, resulting in values like:
`-Ic:mydataishere`
fixup! dependencies/base: Replace windows path separators with /
|
|
First do VS2015 since it is the most likely to break. Cygwin
is last because it is the slowest. Remove VS2017 because it
is being handled by Azure.
|
|
Hotdoc really wants internal links to point to the .md files instead of
the generated names. Which makes sense, as we're currently relying on
the fact that meson only generated .html pages.
|
|
Including the following that has come up several times recent:
- How to use codegen for headers (that each target that uses the header
needs the object in it's sources)
- Using custom_targets with multiple outputs
|
|
|
|
Start leveraging MachineInfo with for_* methods
|
|
|
|
For PE/COFF it is not possible to allow undefined symbols, so do not
try to use the option to do so.
While gcc ld silently ignores it, this is not the case for the llvm
linker.
Fix #4415
|
|
|
|
|
|
$ flake8
./test cases/frameworks/6 gettext/generated/desktopgenerator.py:8:1: F821 undefined name 'os'
How is this working?
|
|
$ flake8 | grep -E '(E128|E203|E221|E226|E303|W291|W293)'
./mesonbuild/backend/backends.py:32:1: E303 too many blank lines (3)
./mesonbuild/modules/i18n.py:90:56: E128 continuation line under-indented for visual indent
|
|
$ flake8 | grep F401
./mesonbuild/minstall.py:15:1: F401 'gzip' imported but unused
./mesonbuild/backend/backends.py:26:1: F401 '..compilers.get_macos_dylib_install_name' imported but unused
./mesonbuild/backend/backends.py:29:1: F401 'functools.lru_cache' imported but unused
./mesonbuild/scripts/dist.py:27:1: F401 'mesonbuild.dependencies.ExternalProgram' imported but unused
|
|
|
|
|
|
When dependency(), find_library(), find_program(), or
python.find_installation() return a not-found object and disabler is
true, they return a Disabler object instead.
|
|
mesonbuild
|
|
|
|
Make docs more user friendly, and add missing information.
Signed-off-by: Kostiantyn Ponomarenko <konstantin.ponomarenko@gmail.com>
|
|
Add unit test to avoid regressions in the future.
|
|
|
|
When running MSVC on linux via wine, the PDB output doesn't work;
this allows skipping that part.
|
|
|
|
|
|
Remove the code responsible for implicitly compressing manpages as .gz
files. It has been established that manpage compression is a distro
packager's task, with existing distros already having their own
implementations of compression.
Fixes #4330
|
|
wrap: Support using local files instead of downloading
|
|
|
|
On Android executables must be position independent, many
distributions enable it by default too for security reasons.
|