svn commit: r501873 - in head/biology: . gemma gemma/files

Gerald Pfeifer gerald at pfeifer.com
Sat May 18 06:39:58 UTC 2019


On Fri, 17 May 2019, Jason W. Bacon wrote:
> +USES=		blaslapack:openblas compiler:c++11-lang eigen:3 gmake \
> +		localbase:ldflags

Mk/Uses/compiler.mk has

  .if ${_COMPILER_ARGS:Mc++11-lang}
  .if !${COMPILER_FEATURES:Mc++11}
  .if (defined(FAVORITE_COMPILER) && ${FAVORITE_COMPILER} == gcc) || (${ARCH} != amd64 && ${ARCH} != i386) # clang not always supported on Tier-2
  USE_GCC=        yes
  CHOSEN_COMPILER_TYPE=   gcc
  .elif ${COMPILER_TYPE} == gcc
  .if ${ALT_COMPILER_TYPE} == clang
  CPP=    clang-cpp
  CC=     clang
  CXX=    clang++
  CHOSEN_COMPILER_TYPE=   clang
  .else

> +# Force newer GCC on platforms using GCC 4.2 as base
> +.if ${CHOSEN_COMPILER_TYPE} == gcc
> +USE_GCC=	yes
> +.endif

...so already USE_GCC=yes for this case.

Why did you (have to?) add the second snippet above?

Gerald


More information about the svn-ports-all mailing list