Jussi Pakkanen
1ff6a8b5d5
Add entry for random design points. [skip ci]
6 years ago
Dylan Baker
cb70a20490
compilers: make keyword args to Compiler.compile keyword only
...
Becuase treating args as either keyword or positional makes inheritance
really awful to work with.
6 years ago
Dylan Baker
dcfd918548
run_unittests: assume that on windows that intel means icl
...
There actually is an ICC for windows that can be used to cross compile
from Windows to Linux, but it's not supported in meson currently and I
don't plan to enable it.
6 years ago
Dylan Baker
3e82a4b517
run_unittests: intel-cl links like msvc
6 years ago
Dylan Baker
73eca8255b
run_unittests: Don't assume that VS like compilers have MSVC versions
6 years ago
Dylan Baker
c72fd1e333
run_unittests: ICL also doesn't do proper resource dependency detection
6 years ago
Dylan Baker
ecc1f17f8e
tests/fortran/14: Add vsdef files
...
ICL and ifort need these to pass this tests.
6 years ago
Dylan Baker
23d2311d12
tests/fortran/9 cpp: It's okay to link ICL and ifort
...
This test currently assumes that the fortran compiler is gfotran, and
if we're not using g++ it skips. This patch changes it to skip if the
fotran compiler and the c++ compiler aren't the same family. This still
may skip in some cases it shouldn't (clang and gfort probably work fine
on windows), but it does enable ifort + ICL. Which is hte point.
6 years ago
Dylan Baker
0dc88487dd
tests/fortran/1: call compiler.get_id() == str instead of compiler == str
6 years ago
Dylan Baker
d3a1994031
tests/204: Fix intel-cl expectations
6 years ago
Dylan Baker
7d4e3d2589
tests/206: Fix intel vs intel-cl expectations
6 years ago
Dylan Baker
73d6bde9b6
tests/143: Add xilib check for ICL
6 years ago
Dylan Baker
43c1ab0d98
tests/132: ICL should not run this test like MSVC and clang-cl
6 years ago
Dylan Baker
86a8bf1148
tests/124: ICL alos does not use ASM
6 years ago
Dylan Baker
c91e779d8b
tests/123: Add /nologo to cl and ml
...
To make them less chatty.
6 years ago
Dylan Baker
dc564a71a3
tests/123: For MSVC like compilers to treat the .S file like a .c file
...
Which is required for ICL to work correctly, as it otherwise assumes
that the .S file is a .o/.obj file.
6 years ago
Dylan Baker
ac5b1d1bc8
tests/common/40: ICL behaves like MSVC and should be tested like it
6 years ago
Dylan Baker
28aac9fc3b
test cases: Add ICL branches in addition to ICC branches
6 years ago
Dylan Baker
53c8852f47
tests: Add test for Dependency.get_variable
6 years ago
Dylan Baker
d770f1c815
interpreter: Add get_variable method to dependency holders
6 years ago
Dylan Baker
c81804e5f2
dependencies/base: Implement backend component of get variable
6 years ago
Daniel Eklöf
c2ee82cc41
add support for "target_type: 'shared_module'" in build_target()
6 years ago
Jussi Pakkanen
b0f90a793f
Better detection of tab indentation.
...
"But surely nobody would indent by having spaces first,
and tabs after that. Right? Right?"
6 years ago
Jussi Pakkanen
d31db565e1
Add white border to logo used on web pages. [skip ci]
6 years ago
Jussi Pakkanen
23f831a674
Merge pull request #5339 from dcbaker/clike
...
Split up the representations of the C and C++ compilers
6 years ago
Clouds
a0cf7ad3d8
fix error when show default config of list
...
the error would occurs when specifying c_winlibs
6 years ago
nicole mazzuca
24d5c73b0a
add -fno-exceptions if cpp_eh=none is specified
6 years ago
Jon Turney
261878f438
Fix an assertion exception when misusing install_data
...
* Failing test case for trying to install_data a custom_target
* Validate install_data() arguments are either string or file
6 years ago
Amit D
128d313b66
Update Users.md [skip ci] ( #5358 )
6 years ago
Dylan Baker
541523eeba
compilers: Split C-Like functionality into a mixin classes
...
Currently C++ inherits C, which can lead to diamond problems. By pulling
the code out into a standalone mixin class that the C, C++, ObjC, and
Objc++ compilers can inherit and override as necessary we remove one
source of diamonding. I've chosen to split this out into it's own file
as the CLikeCompiler class is over 1000 lines by itself. This also
breaks the VisualStudio derived classes inheriting from each other, to
avoid the same C -> CPP inheritance problems. This is all one giant
patch because there just isn't a clean way to separate this.
I've done the same for Fortran since it effectively inherits the
CCompiler (I say effectively because was it actually did was gross
beyond explanation), it's probably not correct, but it seems to work for
now. There really is a lot of layering violation going on in the
Compilers, and a really good scrubbing would do this code a lot of good.
6 years ago
Dylan Baker
6c61edeb30
Merge pull request #5185 from mensinda/cmakeLLVM
...
CMake llvm dependency backend
6 years ago
Daniel Mensinger
25de6dd675
cmake: Fixed new thread dependency
6 years ago
Daniel Mensinger
1fba945b61
cmake: LLVM better modules handling
6 years ago
Daniel Mensinger
3f539e01ae
cmake: revert module name mapping
6 years ago
Daniel Mensinger
6a2faacdf9
cmake: minor code fixes
6 years ago
Daniel Mensinger
1280ef238b
cmake: Fixed list unit test
6 years ago
Daniel Mensinger
55379b7d0f
CMake: optional modules support
6 years ago
Daniel Mensinger
a9930fe066
LLVM: Added CMake backend
6 years ago
Daniel Mensinger
5086e34d3a
cmake: Support different CMake files
6 years ago
Daniel Mensinger
e0f19cf520
LLVM dependency refactoring
6 years ago
Dylan Baker
529d3788ab
Merge pull request #5254 from dcbaker/fix-sub-dependencies
...
Fix sub dependencies
6 years ago
Dylan Baker
604b2534e8
environment: Fix syntax error
6 years ago
Dylan Baker
da5f07cf39
Revert "detect Intel ICL on windows"
...
This reverts commit 3a75bb5259
.
6 years ago
Dylan Baker
482e26764e
Revert "enable Windows Intel compiler"
...
This reverts commit 50f2381565
.
6 years ago
Dylan Baker
c0aa89e57f
Merge pull request #4952 from mensinda/cacheCompiles
...
Cache compilers.compile() in coredata
6 years ago
Ross Burton
ae9a6417fe
envconfig: mingw is also Windows
...
Also change the same idiom for Darwin to use a set().
6 years ago
Martin Hostettler
ed109801c6
munstable_coredata: Adapt to coredata changes.
6 years ago
Dylan Baker
edb1229a48
mesonlib: Make a few type annotations strings
...
Mypy know what to do with these and isn't confused, but some versions of
python 3.5 (at least 3.5.2) can't handle these annotations. By making
them strings the python interpreter wont try to evaluate them.
Fixes #5326
6 years ago
Jussi Pakkanen
1f4023fa47
Merge pull request #5311 from mensinda/flake8Plugins
...
Added flake8 plugins and some code fixes
6 years ago
Dylan Baker
b59bec08a2
dependencies: Use the _add_sub_dependency
6 years ago