Date: Thu, 5 Jul 2018 09:02:52 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473956 - in head/devel: llvm-devel llvm-devel/files/openmp llvm38 llvm38/files llvm40 llvm40/files llvm50 llvm50/files llvm60 llvm60/files/openmp Message-ID: <201807050902.w6592q5C012517@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Thu Jul 5 09:02:51 2018 New Revision: 473956 URL: https://svnweb.freebsd.org/changeset/ports/473956 Log: devel/llvm*: apply r447281 and enable OPENMP on i386 PR: 229521 Approved by: brooks (maintainer) MFH: 2018Q3 Added: head/devel/llvm-devel/files/openmp/patch-i386 (contents, props changed) head/devel/llvm38/files/openmp-patch-i386 (contents, props changed) head/devel/llvm40/files/openmp-patch-i386 (contents, props changed) head/devel/llvm50/files/openmp-patch-i386 (contents, props changed) head/devel/llvm60/files/openmp/patch-i386 (contents, props changed) Modified: head/devel/llvm-devel/Makefile (contents, props changed) head/devel/llvm38/Makefile (contents, props changed) head/devel/llvm40/Makefile (contents, props changed) head/devel/llvm50/Makefile (contents, props changed) head/devel/llvm60/Makefile (contents, props changed) Modified: head/devel/llvm-devel/Makefile ============================================================================== --- head/devel/llvm-devel/Makefile Thu Jul 5 08:52:25 2018 (r473955) +++ head/devel/llvm-devel/Makefile Thu Jul 5 09:02:51 2018 (r473956) @@ -3,7 +3,7 @@ PORTNAME= llvm PORTVERSION= ${LLVM_MAJOR}.0.d${SNAPDATE} -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= devel lang PKGNAMESUFFIX= -devel @@ -49,10 +49,10 @@ GH_TAGNAME= ${LLVM_COMMIT} 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 Added: head/devel/llvm-devel/files/openmp/patch-i386 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm-devel/files/openmp/patch-i386 Thu Jul 5 09:02:51 2018 (r473956) @@ -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 + Modified: head/devel/llvm38/Makefile ============================================================================== --- head/devel/llvm38/Makefile Thu Jul 5 08:52:25 2018 (r473955) +++ head/devel/llvm38/Makefile Thu Jul 5 09:02:51 2018 (r473956) @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 3.8.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} DISTNAME= ${PORTNAME}-${DISTVERSION}.src @@ -44,10 +44,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_SUB= yes PLIST_FILES= @@ -85,6 +85,7 @@ LLDB_IMPLIES= CLANG OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_DISTFILES= openmp-${DISTVERSION}.src${EXTRACT_SUFX} OPENMP_EXTRA_PATCHES= ${PATCHDIR}/openmp-patch-bug32279 +OPENMP_EXTRA_PATCHES+= ${PATCHDIR}/openmp-patch-i386 GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils Added: head/devel/llvm38/files/openmp-patch-i386 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm38/files/openmp-patch-i386 Thu Jul 5 09:02:51 2018 (r473956) @@ -0,0 +1,11 @@ +--- tools/openmp/runtime/src/kmp_runtime.c.orig 2016-06-02 20:32:40 UTC ++++ tools/openmp/runtime/src/kmp_runtime.c +@@ -7574,7 +7574,7 @@ __kmp_determine_reduction_method( ident_t *loc, kmp_in + + #elif KMP_ARCH_X86 || KMP_ARCH_ARM || KMP_ARCH_AARCH + +- #if KMP_OS_LINUX || KMP_OS_WINDOWS ++ #if KMP_OS_LINUX || KMP_OS_FREEBSD || KMP_OS_WINDOWS + + // basic tuning + Modified: head/devel/llvm40/Makefile ============================================================================== --- head/devel/llvm40/Makefile Thu Jul 5 08:52:25 2018 (r473955) +++ head/devel/llvm40/Makefile Thu Jul 5 09:02:51 2018 (r473956) @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 4.0.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${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_SUB= yes CLANG_DESC= Build clang @@ -98,6 +98,7 @@ LLDB_VARS= _USES_PYTHON=python:2.7 OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_DISTFILES= openmp-${DISTVERSION}.src${EXTRACT_SUFX} OPENMP_EXTRA_PATCHES= ${PATCHDIR}/openmp-patch-bug32279 +OPENMP_EXTRA_PATCHES+= ${PATCHDIR}/openmp-patch-i386 .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo Added: head/devel/llvm40/files/openmp-patch-i386 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm40/files/openmp-patch-i386 Thu Jul 5 09:02:51 2018 (r473956) @@ -0,0 +1,11 @@ +--- tools/openmp/runtime/src/kmp_runtime.cpp.orig 2017-01-20 23:31:21 UTC ++++ tools/openmp/runtime/src/kmp_runtime.cpp +@@ -7597,7 +7597,7 @@ __kmp_determine_reduction_method( ident_t *loc, kmp_in + + #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 + Modified: head/devel/llvm50/Makefile ============================================================================== --- head/devel/llvm50/Makefile Thu Jul 5 08:52:25 2018 (r473955) +++ head/devel/llvm50/Makefile Thu Jul 5 09:02:51 2018 (r473956) @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 5.0.2 -PORTREVISON= 0 +PORTREVISON= 1 CATEGORIES= devel lang MASTER_SITES= https://releases.llvm.org/${LLVM_RELEASE}/${RCDIR} LOCAL/brooks 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 OPTIONS_SUB= yes @@ -99,6 +99,7 @@ LLDB_VARS= _USES_PYTHON=python:2.7 OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_DISTFILES= openmp-${DISTVERSION}.src${EXTRACT_SUFX} OPENMP_EXTRA_PATCHES= ${PATCHDIR}/openmp-patch-bug32279 +OPENMP_EXTRA_PATCHES+= ${PATCHDIR}/openmp-patch-i386 .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo Added: head/devel/llvm50/files/openmp-patch-i386 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm50/files/openmp-patch-i386 Thu Jul 5 09:02:51 2018 (r473956) @@ -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 + Modified: head/devel/llvm60/Makefile ============================================================================== --- head/devel/llvm60/Makefile Thu Jul 5 08:52:25 2018 (r473955) +++ head/devel/llvm60/Makefile Thu Jul 5 09:02:51 2018 (r473956) @@ -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 Added: head/devel/llvm60/files/openmp/patch-i386 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm60/files/openmp/patch-i386 Thu Jul 5 09:02:51 2018 (r473956) @@ -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 +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807050902.w6592q5C012517>