Dylan Baker
6d939c6737
Consider link_whole_targets when determining linker
...
Currently if a target uses link_whole, and one of those archives is a
C++, but the files for the target are C linking will fail when the C
linker attempts to link the C++ files. This patches add
link_whole_targets to the list of languages in the target so the correct
linker will be selected.
7 years ago
Alan Coopersmith
5bdd75940b
Fix ppoll() test to work on non-glibc platforms
7 years ago
Jussi Pakkanen
0ab9f23061
Add thread flags to checks if needed. Closes #2106 .
7 years ago
Patrick Griffis
ece4ce8872
Fix test() accepting configure files for exe
7 years ago
Jussi Pakkanen
a572ebd2a1
Convert man inputs to Files so you can install_man the output of configure_file. Closes #2135 .
7 years ago
nyorain
6dd9098cd7
Fix vulkan windows; Make test succeed w/o driver
...
Fix an error in the windows vulkan_sdk library finding.
Also don't fail the vulkan test only because no vulkan
driver is installed (should fix the travis error).
7 years ago
nyorain
0aa71d6808
Fix vulkan test
7 years ago
nyorain
766024e334
Fix wrong dep name in vulkan test
7 years ago
nyorain
29e2aac690
Add first vulkan dependency module
7 years ago
Rico Tzschichholz
ccde05f0ac
Tag functions in asm properly.
7 years ago
Emmanuele Bassi
0b64bac3ad
Test the newly added gnome.genmarshal() argument
7 years ago
Nirbheek Chauhan
b3d048e93a
CompilerArgs: Put start/end-group around shared libs too
...
Closes https://github.com/mesonbuild/meson/issues/2096
7 years ago
Adam C. Foltzer
4eda3ca0fc
add `crate-name` to Rust target args
...
This is required for downstream Rust dependencies to properly import
libraries using `extern crate`.
7 years ago
Patrick Griffis
67f0a1a44d
Fix run_target() accepting ConfigureFile for command
7 years ago
Jussi Pakkanen
8c39007e41
Renamed test dirs to remove duplicated numbers.
7 years ago
Jussi Pakkanen
e82edc179f
Check for manual attempts to set rpath and update docs.
7 years ago
Jussi Pakkanen
2269b7f60b
Add build_rpath as new property allowing people to specify rpath entries that are used in the build tree but will be removed on install.
7 years ago
Jon Turney
8ebdbfb0f6
Use full_path() rather than adding current_build_dir() as rpath in test common/154
7 years ago
Jon Turney
8f859a5105
Make the name of the executable implib configurable
7 years ago
Jon Turney
3110c209f7
Consolidate windows tests which are divided between mingw and msvc
7 years ago
Jon Turney
3fa3922cea
Support implibs for executables on Windows
...
Add a boolean 'implib' kwarg to executable(). If true, it is permitted to
use the returned build target object in link_with:
On platforms where this makes sense (e.g. Windows), an implib is generated
for the executable and used when linking. Otherwise, it has no effect.
(Rather than checking if it is a StaticLibrary or SharedLibary, BuildTarget
subclasses gain the is_linkable_target method to test if they can appear in
link_with:)
Also install any executable implib in a similar way to a shared library
implib, i.e. placing the implib in the appropriate place
Add tests of:
- a shared_module containing a reference to a symbol which is known (at link
time) to be provided by the executable
- trying to link with non-implib executables (should fail)
- installing the implib
(This last one needs a little enhancement of the installed file checking as
this is the first install test we have which needs to work with either
MSVC-style or GCC-style implib filenames)
7 years ago
FredericHamel
6f4e5e96d8
Allow test to depend on executable target in cross build. ( #2007 )
...
* Add a crossbuild case in 'test case/common/1 trivial/meson.build'
* Add native flags for crossbuild tests.
7 years ago
Jussi Pakkanen
fc23d9d0f2
Turned SIMD into an unstable module.
7 years ago
Jussi Pakkanen
ce77fb89b9
Renamed test case number to avoid dupes.
7 years ago
Jussi Pakkanen
be92a6a3a6
Renamed test dir.
7 years ago
Jussi Pakkanen
f78cf53141
Created merge_from method for ConfigurationData.
7 years ago
Jussi Pakkanen
6119beed4d
Create a new configuration data object and return it as the result.
7 years ago
Jussi Pakkanen
fe86c9c399
Do not use AVX on OSX since we can't detect it reliably at runtime and some CI machines do not seem to have it.
7 years ago
Jussi Pakkanen
ef9e03b847
Hardcode processor features on OSX because it ships a broken __builtin_cpu_supports.
7 years ago
Jussi Pakkanen
f6f5644212
Fix MMX on 32 bit x86.
7 years ago
Jussi Pakkanen
2181d8f2ab
A few fixes for OSX and VS2010.
7 years ago
Jussi Pakkanen
181510bd6e
Fix checks on MinGW and VS2010.
7 years ago
Jussi Pakkanen
8396c4f3e6
Added VS support to simd detector.
7 years ago
Jussi Pakkanen
fefbb296f7
Fix building with Clang on Raspbian.
7 years ago
Jussi Pakkanen
16ec3f0e19
Fix a few OSX "features".
7 years ago
Jussi Pakkanen
d304aac504
Created simd module.
7 years ago
Jussi Pakkanen
57729e5a78
Added NEON support.
7 years ago
Jussi Pakkanen
dbe028cc17
Add AVX2.
7 years ago
Jussi Pakkanen
71ffbd5b73
Add AVX support.
7 years ago
Jussi Pakkanen
fc68e0c63a
Add SSE4.2 support.
7 years ago
Jussi Pakkanen
5d731b102b
Add SSE4.1 support.
7 years ago
Jussi Pakkanen
52a0d958f1
Added SSSE3 support of sorts.
7 years ago
Jussi Pakkanen
0062595e13
Added SSE3 support.
7 years ago
Jussi Pakkanen
953441badf
Added SSE2 support.
7 years ago
Jussi Pakkanen
9e5578ac47
Added SSE support.
7 years ago
Jussi Pakkanen
4a8ca14d44
Some more arches.
7 years ago
Jussi Pakkanen
326d8953b4
Add support for MMX checking.
7 years ago
Jussi Pakkanen
fd91749e5a
The beginning of a test that checks for various SIMD implementations.
7 years ago
Gabríel Arthúr Pétursson
fd653d070d
Make base options accessible via get_option()
7 years ago
Jussi Pakkanen
f5b95dfa06
Renamed test to remove duplicate test number.
8 years ago