Page MenuHomeFreeBSD

D6362.1789275278.diff
No OneTemporary

Size
496 B
Referenced Files
None
Subscribers
None

D6362.1789275278.diff

Index: Mk/Uses/compiler.mk
===================================================================
--- Mk/Uses/compiler.mk
+++ Mk/Uses/compiler.mk
@@ -104,10 +104,16 @@
.if ${_COMPILER_ARGS:Mopenmp}
.if ${COMPILER_TYPE} == clang
-USE_GCC= yes
+.if ${ARCH} == amd64
+.include "${USESDIR}/localbase.mk"
+LDFLAGS+= -lm
+LIB_DEPENDS+= libiomp5.so:devel/openmp
+.else
+USE_GCC= yes
CHOSEN_COMPILER_TYPE= gcc
.endif
.endif
+.endif
.if ${_COMPILER_ARGS:Mnestedfct}
.if ${COMPILER_TYPE} == clang

File Metadata

Mime Type
text/plain
Expires
Sun, Sep 13, 4:54 AM (3 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29581569
Default Alt Text
D6362.1789275278.diff (496 B)

Event Timeline