diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-07-05 17:02:51 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2018-07-05 17:02:51 +0800 |
commit | e41d968ce6ede522c554bbb18833e88dd5688afc (patch) | |
tree | 9c9de4bd7fac677fbad4e2443c5f67ffc9cf2c45 /devel/llvm60 | |
parent | 8b73b271aeb80ffacd1d289f860a8c1b2e7b64fd (diff) | |
download | freebsd-ports-gnome-e41d968ce6ede522c554bbb18833e88dd5688afc.tar.gz freebsd-ports-gnome-e41d968ce6ede522c554bbb18833e88dd5688afc.tar.zst freebsd-ports-gnome-e41d968ce6ede522c554bbb18833e88dd5688afc.zip |
devel/llvm*: apply r447281 and enable OPENMP on i386
PR: 229521
Approved by: brooks (maintainer)
MFH: 2018Q3
Diffstat (limited to 'devel/llvm60')
-rw-r--r-- | devel/llvm60/Makefile | 6 | ||||
-rw-r--r-- | devel/llvm60/files/openmp/patch-i386 | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/devel/llvm60/Makefile b/devel/llvm60/Makefile index c7b1d9443b92..480a85a51f74 100644 --- a/devel/llvm60/Makefile +++ b/devel/llvm60/Makefile @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 6.0.1 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= devel lang MASTER_SITES= http://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} @@ -50,10 +50,10 @@ CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH="share/man" OPTIONS_DEFINE= CLANG DOCS EXTRAS LIT LLD LLDB OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP -OPTIONS_DEFINE_i386= COMPILER_RT +OPTIONS_DEFINE_i386= COMPILER_RT OPENMP OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP -OPTIONS_DEFAULT_i386= COMPILER_RT +OPTIONS_DEFAULT_i386= COMPILER_RT OPENMP OPTIONS_EXCLUDE_FreeBSD_10= LLDB OPENMP OPTIONS_SUB= yes diff --git a/devel/llvm60/files/openmp/patch-i386 b/devel/llvm60/files/openmp/patch-i386 new file mode 100644 index 000000000000..9300640f6845 --- /dev/null +++ b/devel/llvm60/files/openmp/patch-i386 @@ -0,0 +1,11 @@ +--- projects/openmp/runtime/src/kmp_runtime.cpp.orig 2017-07-17 09:03:14 UTC ++++ projects/openmp/runtime/src/kmp_runtime.cpp +@@ -7535,7 +7535,7 @@ __kmp_determine_reduction_method( + + #elif KMP_ARCH_X86 || KMP_ARCH_ARM || KMP_ARCH_AARCH || KMP_ARCH_MIPS + +-#if KMP_OS_LINUX || KMP_OS_WINDOWS ++#if KMP_OS_LINUX || KMP_OS_FREEBSD || KMP_OS_WINDOWS + + // basic tuning + |