Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148955697
D6362.1789275278.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
496 B
Referenced Files
None
Subscribers
None
D6362.1789275278.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D6362: Use llvm openmp on amd64 when the compiler chosen is clang
Attached
Detach File
Event Timeline
Log In to Comment