mirror of https://gitlab.com/ita1024/waf.git
Detect clang first on FreeBSD, NetBSD, etc
This commit is contained in:
parent
e1d82be8a5
commit
04449361e8
4
TODO
4
TODO
|
@ -11,7 +11,6 @@ Waf 1.9
|
||||||
* Do not cache waf tool detection
|
* Do not cache waf tool detection
|
||||||
* Fix the vala detection
|
* Fix the vala detection
|
||||||
* Better consistency between check_cfg and check_cc variables
|
* Better consistency between check_cfg and check_cc variables
|
||||||
* Detect Clang by default on FreeBSD instead of gcc
|
|
||||||
* Use relative paths in apply_incpaths (and absolute ones when paths cross drives)
|
* Use relative paths in apply_incpaths (and absolute ones when paths cross drives)
|
||||||
* Let run_once accept a list of *args
|
* Let run_once accept a list of *args
|
||||||
* Let more context commands depend on the configuration
|
* Let more context commands depend on the configuration
|
||||||
|
@ -23,5 +22,6 @@ Done
|
||||||
* Remove the split functions from Utils
|
* Remove the split functions from Utils
|
||||||
* Remove the command called "update"
|
* Remove the command called "update"
|
||||||
* Include the tool 'nobuild' by default
|
* Include the tool 'nobuild' by default
|
||||||
* Remove qt4 from the default modules
|
* Remove qt4 and kde4 from the default modules
|
||||||
|
* Detect Clang first on many platforms, in particular on FreeBSD
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ c_compiler = {
|
||||||
'osf1V': ['gcc'],
|
'osf1V': ['gcc'],
|
||||||
'gnu': ['gcc', 'clang'],
|
'gnu': ['gcc', 'clang'],
|
||||||
'java': ['gcc', 'msvc', 'clang', 'icc'],
|
'java': ['gcc', 'msvc', 'clang', 'icc'],
|
||||||
'default':['gcc', 'clang'],
|
'default':['clang', 'gcc'],
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
Dict mapping the platform names to Waf tools finding specific C compilers::
|
Dict mapping the platform names to Waf tools finding specific C compilers::
|
||||||
|
|
|
@ -48,7 +48,7 @@ cxx_compiler = {
|
||||||
'osf1V': ['g++'],
|
'osf1V': ['g++'],
|
||||||
'gnu': ['g++', 'clang++'],
|
'gnu': ['g++', 'clang++'],
|
||||||
'java': ['g++', 'msvc', 'clang++', 'icpc'],
|
'java': ['g++', 'msvc', 'clang++', 'icpc'],
|
||||||
'default': ['g++', 'clang++']
|
'default': ['clang++', 'g++']
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
Dict mapping the platform names to Waf tools finding specific C++ compilers::
|
Dict mapping the platform names to Waf tools finding specific C++ compilers::
|
||||||
|
|
Loading…
Reference in New Issue