FreeBSD Bugzilla – Attachment 179737 Details for
Bug 216900
[patch] [exp-run] use devel/llvm39 for OpenMP ports if clang is compiler and we are on amd64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to Mk/Uses/compiler.mk
openmp_clang.diff (text/plain), 662 bytes, created by
Johannes M Dieterich
on 2017-02-08 03:42:12 UTC
(
hide
)
Description:
patch to Mk/Uses/compiler.mk
Filename:
MIME Type:
Creator:
Johannes M Dieterich
Created:
2017-02-08 03:42:12 UTC
Size:
662 bytes
patch
obsolete
>Index: Mk/Uses/compiler.mk >=================================================================== >--- Mk/Uses/compiler.mk (revision 433269) >+++ Mk/Uses/compiler.mk (working copy) >@@ -103,9 +103,15 @@ > CHOSEN_COMPILER_TYPE= ${COMPILER_TYPE} > > .if ${_COMPILER_ARGS:Mopenmp} >-.if ${COMPILER_TYPE} == clang >-USE_GCC= yes >-CHOSEN_COMPILER_TYPE= gcc >+.if ${COMPILER_TYPE} == clang && ${ARCH} == amd64 >+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang39:devel/llvm39 >+CPP= ${LOCALBASE}/bin/clang-cpp39 >+CC= ${LOCALBASE}/bin/clang39 >+CXX= ${LOCALBASE}/bin/clang++39 >+CHOSEN_COMPILER_TYPE= clang >+.else >+USE_GCC= yes >+CHOSEN_COMPILER_TYPE= gcc > .endif > .endif >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 216900
: 179737