1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
Commit Graph

24 Commits

Author SHA1 Message Date
Baptiste Daroussin
e149a86133 Add compiler:gcc-c++11-lib to instrument gcc linking with libc++ on system where default stl is libc++ 2014-04-08 15:16:39 +00:00
Gerald Pfeifer
5b4f2ad658 Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
2014-03-15 10:31:54 +00:00
Baptiste Daroussin
9e94573f8f Now that default gcc is 4.7 switch back to USE_GCC=yes where appropriate 2014-03-12 17:45:48 +00:00
Rene Ladan
949300ce57 Mention the new c++0x argument.
Approved by:	portmgr (bdrewery)
2014-01-10 22:09:07 +00:00
Baptiste Daroussin
7b6e9b4ecd Fix test 2014-01-09 07:10:02 +00:00
Baptiste Daroussin
b8a4248e6e Make gcc 4.6 is sufficient for c++0x 2014-01-09 06:56:42 +00:00
Baptiste Daroussin
9271597aee Allow to choose clang from base on 9.2 when looking for a C11 compiler
Add compiler:c++0x modeled over compiler:c++11-lang [1]

Requested by:	delphij [1]
2014-01-09 06:55:18 +00:00
Rene Ladan
7657603be6 Spell out "nestedfct"
Approved by:	portmgr (bapt)
2013-12-15 23:45:39 +00:00
Rene Ladan
f7110a705a Mention nestedfct parameter.
Perform some language fixes while here.

Approved by:	portmgr (bapt)
2013-12-15 23:22:33 +00:00
Baptiste Daroussin
ea0afa43ec Add compiler:nestedfct which will automatically probe USE_GCC=any 2013-12-13 14:14:48 +00:00
Baptiste Daroussin
fcc34a8a2b Fix a typo
Reported by:	Rainer Hurling <rhurlin@gwdg.de>
2013-11-20 21:48:30 +00:00
Baptiste Daroussin
2031b3ac69 Swap compiler.mk to use gcc 4.7 when requesting a C++11/C11 compiler and clang does not fit or the user explicitly want GCC. 2013-11-20 21:47:29 +00:00
Baptiste Daroussin
a90833bd31 Add CHOSEN_COMPILER_TYPE which can be clang or gcc
It value correspond to the type of compiler chosen by the famework depending on the options

Requested by:	rene
2013-11-20 12:41:39 +00:00
Baptiste Daroussin
4ee0cb5d32 Make sure clang uses ports ld on FreeBSD 8 2013-11-15 22:25:40 +00:00
Baptiste Daroussin
a23ec7269c On FreeBSD 8 clang will need a newer version of binutils.
Reported by:	dbn
2013-11-12 09:25:43 +00:00
Baptiste Daroussin
e64227dd6e Allow base clang to be used if version is >= 3.3
This gives 2 new variables to the porters:
ALT_COMPILER_TYPE which can be empty, clang or cc depending on what ${CC} is
ALT_COMPILER_VERSION which will give the porter a 2 digit version of the alternative compiler

Requested by:	many
2013-11-07 17:35:36 +00:00
Rene Ladan
38ea0176b6 Document "openmp" as a valid argument.
Approved by:	portmgr (bapt)
2013-10-17 09:50:51 +00:00
John Marino
aed7d5fbc5 Mk/Uses/compiler.mk: Ensure COMPILER_TYPE can only be clang or gcc
The compiler.mk comments and code state that COMPILER_TYPE can only be
of the value "clang" or "gcc".  However, the code that determines this
allows for a possible undefined third state (empty string).  BMake
will emit a lot of errors about badly formatted conditionals if
COMPILER_TYPE is empty.

Since, by definition, if the COMPILER_TYPE is not clang, it must be
gcc, so skip the conditional gcc check and just set it.  The entire
file must be updated if support for additional compilers is desired.

This bug was discovered because the gcc detection code failed to
identify the DragonFly base compiler (GCC 4.7.3) as gcc.

Approved by:	portmgr (bapt)
2013-10-14 16:46:20 +00:00
Baptiste Daroussin
0e0cee5222 Always use a recent version of gcc in case a port needs openmp support
Submitted by:	gerald
2013-10-12 05:42:26 +00:00
Baptiste Daroussin
5c2deef55c Add a new argument openmp to make sure that only gcc is used (for now) is the port requires openmp
Requested by:	brooks
2013-10-09 05:52:45 +00:00
Baptiste Daroussin
60a5c6d442 Really really commit the right version
Pointyhat to:	bapt
2013-10-09 05:45:00 +00:00
Bryan Drewery
53718280e8 Revert r329829 to restore compiler.mk 2013-10-09 00:46:21 +00:00
Baptiste Daroussin
e641a63303 Actually commit the right version 2013-10-08 19:41:09 +00:00
Baptiste Daroussin
91bfd4296d New USES=compiler
Supported arguments are:
  - c++11-lang: the port needs a c++11 aware compiler what ever standard
  library it uses, implies features
  - c++11-lib: the port needs a c++11 standard library, implies features
  - c11: the ports needs a c11 aware compiler implies features
  - features: this will create a COMPILER_FEATURES variable which contains
  the list of features ${CC} do support, implies env.
  - env: the COMPILER_TYPE will be set to either gcc or clang.

  By default the uses will try to use clang33 from ports when nothing in
  base is relevant except if the user explicitly defines
  FAVORITE_COMPILER=gcc in his make.conf

Please note that testing tinderbox prior to version: 4.0.1_1 is not able to
properly figure out the dependencies implied by this USES.
2013-10-08 18:55:37 +00:00