| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|\
| |
| | |
Add has_link_argument() and friends
|
| |
| |
| |
| | |
Closes: #3335.
|
| | |
|
| | |
|
|/
|
|
|
| |
This works similarly to the thread dependency which stores the various
inconsistent flags in each compiler.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
- Updating environment.py for selecting '--vsn' option for armcc only.
- Updating build type arguments from GitHub pull request - 3157
Change-Id: Id3151e7715ec1016afdbd65391bb0d414ec7de13
|
| |
| |
| |
| |
| | |
- Fixing flake8 error in compilers.py - [E124] closing bracket does not match visual indentation
- Updating ARMCCompiler constructor in c.py to raise error as per comments
|
| |
| |
| |
| | |
Change-Id: I15d8258e84d392baaccb8f670e33eefcfe8cd49a
|
| |
| |
| |
| |
| |
| | |
This patch exploits the information residing in ltversion to set the
-compatibility_version and -current_version flags that are passed to the
linker on macOS.
|
| |
| |
| |
| |
| |
| |
| |
| | |
GNU LD does not use soname when linking a PE/COFF binary, so it makes no
difference, but it breaks when using the llvm linker (lld), which does
not support the soname flag when building PE/COFF binaries for Windows.
Fix #3179
|
|\ \
| | |
| | | |
Support lcc compiler for e2k (Elbrus) architecture
|
| | |
| | |
| | |
| | |
| | | |
For example, Elbrus lcc does output in KOI8-R, if LC_ALL=C, and
there is no English counterpart for original Russian message.
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This caching is only for a single run, so it doesn't help reconfigure.
However, it is useful for subproject setups where different subprojects
will run the same compiler checks.
The cache is also per compiler instance and is not used for functions
that want to read or run the outputted object file or binary.
For gst-build, this halves the number of compiler checks that are run
and reduces configuration time by 20%.
|
| |
| |
| |
| | |
If paths are absolute the order of search directories is not relevant as the path is already resolved.
|
| |
| |
| |
| | |
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
| |
| |
| |
| | |
Provide get_{type}_options_for_target() methods that unite {type} and builtin options.
|
|/
|
|
|
| |
* `-Wl,-dead_strip_dylibs` is the analogue
of `-Wl,--as-needed` on macOS.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to Python documentation[1] dirname and basename
are defined as follows:
os.path.dirname() = os.path.split()[0]
os.path.basename() = os.path.split()[1]
For the purpose of better readability split() is replaced
by appropriate function if only one part of returned tuple
is used.
[1]: https://docs.python.org/3/library/os.path.html#os.path.split
|
|
|
|
|
| |
Which always seems to prepend /usr/lib/gcc50 (or whatever version) to
the rpath, and $ORIGIN after that.
|
| |
|
|
|
|
| |
fixes #2834
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise we will try to use the objc compiler when linking projects
with both objc and C++.
Technically we should use the objc++ linker when doing this, but on
most (all?) systems the objc++ linker is `c++`, which is the same
as the C++ linker.
Closes https://github.com/mesonbuild/meson/issues/2468
|
| |
|
| |
|
|\
| |
| | |
Add more version information to compiler
|
| |
| |
| |
| |
| |
| |
| |
| | |
See issue #2762
Adds full_version to class Compiler. If set full_version will be printed
additionally.
Added support for CCompiler and CPPCompiler
Added support for gcc/g++, clang/clang++, icc.
|
|/
|
|
|
| |
When set, NDEBUG will be automatically defined for for release builds but
not for other build types.
|
|\
| |
| | |
Fix many things have have been slightly broken in OSX
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
|
|
|
|
|
| |
Auto detection was based on parsing gcc's output so we have to
ensure that it is always 'C'.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
| |
|
|
|
|
|
| |
This only touches newlines, spaces, and (occaisionally) commas. Anything
else is left for another commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a helper for the common pattern of:
args_to_use = []
foreach arg : candidate_args
if cc.has_argument(arg)
args_to_use += arg
endif
endforeach
Replaced with:
args_to_use = cc.get_supported_arguments(candidate_args)
|
|
|
|
|
|
|
|
|
| |
In version 3.6.0, clang added -Wignored-optimization-argument. Without
setting this flag to -Werror, "ignored optimization arguments" such as
(for example) -fpeel-loops, are accepted but warned about, leading to
noisy builds if meson thinks the flag is supported.
See also #755
|
|
|
|
|
|
|
|
| |
In addition to filtering libs out while generating the command-line, we
must also filter them out in find_library() otherwise these libs will be
detected as "found" on Windows with MSVC.
Closes https://github.com/mesonbuild/meson/issues/1509
|
|
|
|
| |
Closes https://github.com/mesonbuild/meson/issues/2096
|