aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-11-02ninjabackend: add generated source files to jar compile target source listAurélien Zanelli6-0/+63
Otherwise, passing result of custom_target() to jar() target is ignored and won't be compiled resulting in build fail.
2018-11-02extract_all_sources: Also include generated object filesXavier Claessens2-1/+13
Closes #4281.
2018-11-02Fix incorrect checking of build machine for dependency availabilityJon Turney2-3/+3
Don't check the build machine to determine a dependency whose availability is static property of the host machine
2018-11-02Fail some impossible cross-detectionsJon Turney2-1/+14
Make some detections I can't see how to make work in a cross-environment fail.
2018-11-02meson: cache get_target_generated_dirMarcel Hollerbach1-0/+2
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.
2018-11-02meson: performance optimizethe file objectMarcel Hollerbach1-0/+5
reduce the amount of access calls to the os. This safes ~1 sec. build time
2018-11-02Reformat Meson file for readability.Jussi Pakkanen1-10/+10
2018-11-02Make string division do path joining.Jussi Pakkanen5-5/+43
2018-10-30Hoist gen_vs_module_defs_args from Gnu to GnuLike.Josh Gao1-10/+10
Support vs_module_defs when cross-compiling to Windows with clang. Fixes #4434.
2018-10-30Generalize gnulike-targeting-windows checks.Josh Gao3-6/+6
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.
2018-10-30Fix crlf line endingsDylan Baker3-90/+91
mark .icns files as binary so git will stop trying to fix the line endings, and recommit the remaining .crlf files
2018-10-29Fix merge file using an array. Closes #4424.Jussi Pakkanen2-1/+5
2018-10-29Print dependencies being used for compiler checksNirbheek Chauhan2-30/+49
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
2018-10-29Rollback if an optional subproject failsXavier Claessens5-1/+23
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.
2018-10-28get_base_compile_args: Add -fprofile-correction to -fprofile-useJan Alexander Steffens (heftig)1-2/+2
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
2018-10-28Fix bug in PerMachine constructorJohn Ericson1-1/+1
Don't make single element tuple
2018-10-27docs: Fix gcc attribute list link [skip ci]Nirbheek Chauhan2-2/+2
2018-10-27No tabs, only spaces. [skip ci]Jussi Pakkanen1-14/+14
2018-10-27wrap: Check the directory key is a name and not a pathXavier Claessens1-0/+2
Closes #1413.
2018-10-27add -permissive to the boost testNicole Mazzuca1-0/+6
2018-10-27add support for `/permissive-`Nicole Mazzuca1-8/+21
We do this with `std_ver=vc++NM` - `vc++` does not add `/permissive-`, while `std_ver=c++NM` adds `/permissive-`.
2018-10-27tests/llvm: Allow test to run with static-only llvmDylan Baker1-8/+17
Like on windows, where shared llvm isn't support.
2018-10-27dependencies/base: Replace windows path separators with \\\\Dylan Baker1-0/+3
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 /
2018-10-27Reorder test runs.Jussi Pakkanen1-19/+7
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.
2018-10-27docs: Fix hotdoc warnings [skip ci]Dylan Baker2-10/+10
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.
2018-10-27docs: Add documentation to custom_targets for codegen [skip ci]Dylan Baker2-1/+72
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
2018-10-26add implib support for ArmclangCompiler (#4420)pbl1-0/+14
2018-10-25Merge pull request #4326 from Ericson2314/per-machineJussi Pakkanen2-28/+167
Start leveraging MachineInfo with for_* methods
2018-10-25Detect powerpc processors on FreeBSD. Closes #4397.Jussi Pakkanen1-0/+13
2018-10-25compilers/c: Fix allow undefined link arg for PE/COFFMarvin Scholz1-0/+3
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
2018-10-25depfixer: Do not try to fix rpaths of dllsMarvin Scholz1-0/+3
2018-10-25Purge unused argument. Closes #4407.Jussi Pakkanen1-1/+1
2018-10-24Fix remaining flake8 reportJon Turney1-1/+1
$ flake8 ./test cases/frameworks/6 gettext/generated/desktopgenerator.py:8:1: F821 undefined name 'os' How is this working?
2018-10-24Fix flake8 whitespace reportsJon Turney2-2/+1
$ 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
2018-10-24Fix flake8 'imported but unused' reportsJon Turney3-4/+2
$ 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
2018-10-24module-qt: add rcc_extra_arguments to pass extra arguments to rcc (#4406)xiannox3-5/+11
2018-10-24Move VS C++17 test to a unit test since it requires env setup.Jussi Pakkanen4-9/+17
2018-10-23Add 'disabler' argument to functions returning not-found objectsXavier Claessens7-2/+48
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.
2018-10-23Throw error to unsupported Python versions before importing modules from ↵Pieter Krul1-2/+1
mesonbuild
2018-10-22add cpp_std support for MSVCNicole Mazzuca4-3/+53
2018-10-21doc: Improve wrap and subproject documentation [skip ci]Kostiantyn Ponomarenko3-177/+260
Make docs more user friendly, and add missing information. Signed-off-by: Kostiantyn Ponomarenko <konstantin.ponomarenko@gmail.com>
2018-10-21wrap: Fix crash with file based wrapsXavier Claessens5-3/+15
Add unit test to avoid regressions in the future.
2018-10-21Clarify that the tutorial requires prebuilt dependencies. [skip ci]Jussi Pakkanen1-0/+13
2018-10-20Skip creating a PDB file if a debug build hasn't been requestedMartin Storsjö1-1/+2
When running MSVC on linux via wine, the PDB output doesn't work; this allows skipping that part.
2018-10-20Order rpaths so that internal ones come first.Jussi Pakkanen1-1/+17
2018-10-20Keep absolute rpaths to libraries outside the build dir.Jussi Pakkanen1-10/+13
2018-10-20Remove implicit compression of man pagesMichał Górny9-25/+21
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
2018-10-20Merge pull request #4327 from xclaesse/wrapJussi Pakkanen5-261/+208
wrap: Support using local files instead of downloading
2018-10-20Document the no_builtin_args argument of Compiler object methods [skip ci]Jon Turney1-2/+5
2018-10-20Add 'b_pie' compiler optionXavier Claessens7-8/+58
On Android executables must be position independent, many distributions enable it by default too for security reasons.