devel/openmp: update to 9.0.0

- Connect tests to the framework to help QA remaining patches
- Force rebuild all consumers after https://reviews.llvm.org/D59783

Changes:	http://llvm.org/viewvc/llvm-project/openmp/tags/RELEASE_900/final/?view=log
ABI:		https://abi-laboratory.pro/tracker/timeline/llvm_openmp/
This commit is contained in:
Jan Beich 2019-09-21 18:59:57 +00:00
parent 9dd19244b1
commit b03c67869c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512535
58 changed files with 90 additions and 83 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= siril
DISTVERSION= 0.9.10
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= astro graphics
MASTER_SITES= https://free-astro.org/download/

View file

@ -2,7 +2,7 @@
PORTNAME= abyss
DISTVERSION= 2.1.5
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= biology
MASTER_SITES= http://www.bcgsc.ca/platform/bioinfo/software/${PORTNAME}/releases/${DISTVERSION}/

View file

@ -3,7 +3,7 @@
PORTNAME= hhsuite
DISTVERSIONPREFIX= v
DISTVERSION= 3.2.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= biology science
MAINTAINER= yuri@FreeBSD.org

View file

@ -2,7 +2,7 @@
PORTNAME= fastTSNE
DISTVERSION= 0.2.13
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= biology python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -2,6 +2,7 @@
PORTNAME= wsjtx
DISTVERSION= 2.1.0
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= SF/wsjt/${PORTNAME}-${PORTVERSION}${DISTVERSIONSUFFIX}

View file

@ -2,7 +2,7 @@
PORTNAME= pdf2djvu
PORTVERSION= 0.9.12
PORTREVISION= 10
PORTREVISION= 11
CATEGORIES= converters
MASTER_SITES= https://github.com/jwilk/${PORTNAME}/releases/download/${PORTVERSION}/

View file

@ -1,9 +1,8 @@
# $FreeBSD$
PORTNAME= openmp
DISTVERSION= 8.0.0
DISTVERSION= 9.0.0
DISTVERSIONSUFFIX= .src
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://llvm.org/releases/${DISTVERSION}/
@ -20,6 +19,7 @@ ONLY_FOR_ARCHS= amd64 i386 powerpc64
USES= cmake compiler:c++11-lib perl5 tar:xz
USE_PERL5= build
USE_LDCONFIG= yes
TEST_TARGET= libomp-micro-tests
PLIST_FILES= include/omp.h \
include/ompt.h \
include/omp-tools.h \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1547724717
SHA256 (openmp-8.0.0.src.tar.xz) = f7b1705d2f16c4fc23d6531f67d2dd6fb78a077dd346b02fed64f4b8df65c9d5
SIZE (openmp-8.0.0.src.tar.xz) = 934384
TIMESTAMP = 1548690178
SHA256 (openmp-9.0.0.src.tar.xz) = 9979eb1133066376cc0be29d1682bc0b0e7fb541075b391061679111ae4d3b5b
SIZE (openmp-9.0.0.src.tar.xz) = 939036

View file

@ -1,27 +0,0 @@
--- runtime/cmake/LibompHandleFlags.cmake.orig 2018-12-10 13:45:00 UTC
+++ runtime/cmake/LibompHandleFlags.cmake
@@ -159,11 +159,11 @@ function(libomp_get_libflags libflags)
if(${IA32})
libomp_append(libflags_local -lirc_pic LIBOMP_HAVE_IRC_PIC_LIBRARY)
endif()
- IF(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
+ IF(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly|FreeBSD")
libomp_append(libflags_local "-Wl,--no-as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)
libomp_append(libflags_local "-lm")
libomp_append(libflags_local "-Wl,--as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)
- ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
+ ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly|FreeBSD")
IF(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
libomp_append(libflags_local -lm)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
--- runtime/cmake/LibompMicroTests.cmake.orig 2017-03-16 15:50:48 UTC
+++ runtime/cmake/LibompMicroTests.cmake
@@ -171,7 +171,7 @@ add_custom_command(
add_custom_target(libomp-test-deps DEPENDS test-deps/.success)
set(libomp_expected_library_deps)
if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
- set(libomp_expected_library_deps libc.so.7 libthr.so.3)
+ set(libomp_expected_library_deps libc.so.7 libthr.so.3 libm.so.5)
libomp_append(libomp_expected_library_deps libhwloc.so.5 LIBOMP_USE_HWLOC)
elseif(CMAKE_SYSTEM_NAME MATCHES "NetBSD")
set(libomp_expected_library_deps libc.so.12 libpthread.so.1 libm.so.0)

View file

@ -0,0 +1,19 @@
BFD linker (unlike LLD) drops libm with --as-needed.
https://bugs.llvm.org/show_bug.cgi?id=32279
--- runtime/cmake/LibompHandleFlags.cmake.orig 2019-07-12 21:45:36 UTC
+++ runtime/cmake/LibompHandleFlags.cmake
@@ -158,11 +158,11 @@ function(libomp_get_libflags libflags)
if(${IA32})
libomp_append(libflags_local -lirc_pic LIBOMP_HAVE_IRC_PIC_LIBRARY)
endif()
- if(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
+ if(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly|FreeBSD")
libomp_append(libflags_local "-Wl,--no-as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)
libomp_append(libflags_local "-lm")
libomp_append(libflags_local "-Wl,--as-needed" LIBOMP_HAVE_AS_NEEDED_FLAG)
- elseif(${CMAKE_SYSTEM_NAME} MATCHES "(Free|Net)BSD")
+ elseif(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
libomp_append(libflags_local -lm)
endif()
set(libflags_local ${libflags_local} ${LIBOMP_LIBFLAGS})

View file

@ -1,11 +0,0 @@
--- runtime/src/kmp_runtime.cpp.orig 2019-01-15 15:36:53 UTC
+++ runtime/src/kmp_runtime.cpp
@@ -8104,7 +8104,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 || KMP_OS_HURD
+#if KMP_OS_LINUX || KMP_OS_FREEBSD || KMP_OS_WINDOWS || KMP_OS_HURD
// basic tuning

View file

@ -0,0 +1,14 @@
Adjust for FreeBSD readelf(1) output.
https://sourceforge.net/p/elftoolchain/tickets/544/
--- runtime/tools/check-depends.pl.orig 2019-01-19 10:56:40 UTC
+++ runtime/tools/check-depends.pl
@@ -131,7 +131,7 @@ sub get_deps_readelf($) {
# Parse body.
while ( $i < @bulk ) {
my $line = $bulk[ $i ];
- if ( $line !~ m{^\s*0x[0-9a-f]+\s+\(([_A-Z0-9]+)\)\s+(.*)\s*$}i ) {
+ if ( $line !~ m{^\s*0x[0-9a-f]+\s+\(?([_A-Z0-9]+)\)?\s+(.*)\s*$}i ) {
parse_error( $tool, @bulk, $i );
}; # if
my ( $type, $value ) = ( $1, $2 );

View file

@ -3,7 +3,7 @@
PORTNAME= numba
DISTVERSION= 0.40.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -3,7 +3,7 @@
PORTNAME= quantlib
PORTVERSION= 1.15
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= finance math devel
MASTER_SITES= https://dl.bintray.com/${PORTNAME}/releases/
DISTNAME= QuantLib-${PORTVERSION}

View file

@ -3,7 +3,7 @@
PORTNAME= aster
DISTVERSION= ${ASTER_DISTVERSION}
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= french cad
MAINTAINER= thierry@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= blender
DISTVERSION= 2.80
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics multimedia
MASTER_SITES= http://download.blender.org/source/ \
http://mirror.cs.umn.edu/blender.org/source/ \

View file

@ -2,6 +2,7 @@
PORTNAME= gmic
DISTVERSION= 2.7.1
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://gmic.eu/files/source/
DISTNAME= ${PORTNAME}_${DISTVERSION}

View file

@ -4,7 +4,7 @@
PORTNAME= gthumb
PORTVERSION= 3.6.1
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3

View file

@ -4,7 +4,7 @@
PORTNAME= lightzone
DISTVERSION= 4.1.8-3
DISTVERSIONSUFFIX= -g36e87773
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= graphics java
DIST_SUBDIR= ${PORTNAME}

View file

@ -3,6 +3,7 @@
PORTNAME= mandelbulber
DISTVERSION= 2.19
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= amdmi3@FreeBSD.org

View file

@ -3,6 +3,7 @@
PORTNAME= rawtherapee
PORTVERSION= 5.7
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://rawtherapee.com/shared/source/

View file

@ -3,7 +3,7 @@
PORTNAME= tesseract
PORTVERSION= 4.1.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics
MAINTAINER= pkubaj@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= R
DISTVERSION= 3.6.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math lang
MASTER_SITES= CRAN/src/base/R-${PORTVERSION:C|\..*||}

View file

@ -3,7 +3,7 @@
PORTNAME= ambit
DISTVERSIONPREFIX= v
DISTVERSION= 0.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= math
PKGNAMESUFFIX= -tensor # avoid clash with shells/ambit

View file

@ -2,7 +2,7 @@
PORTNAME= blaze
DISTVERSION= 3.5
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/downloads/

View file

@ -2,7 +2,7 @@
PORTNAME= blazeiterative
PORTVERSION= g20180409
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org

View file

@ -2,7 +2,7 @@
PORTNAME= CombBLAS
DISTVERSION= 1.6.2
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= https://people.eecs.berkeley.edu/~aydin/${PORTNAME}_FILES/
DISTNAME= ${PORTNAME}_beta_${DISTVERSION:S/.//:S/./_/}

View file

@ -3,7 +3,7 @@
PORTNAME= dbcsr
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= gretl
DISTVERSION= 2019a
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= math finance
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSIONFULL}/

View file

@ -2,7 +2,7 @@
PORTNAME= HipMCL
DISTVERSION= g20180814
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= math
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/

View file

@ -2,7 +2,7 @@
PORTNAME= hmat-oss
DISTVERSION= 1.5.0-348
PORTREVISION= 1
PORTREVISION= 2
DISTVERSIONSUFFIX= -g76beaf3
CATEGORIES= math

View file

@ -3,6 +3,7 @@
PORTNAME= libnormaliz
DISTVERSIONPREFIX= v
DISTVERSION= 3.8.0
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= phascolarctos@protonmail.ch

View file

@ -2,7 +2,7 @@
PORTNAME= libxsmm
DISTVERSION= 1.10
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= math science
MAINTAINER= yuri@FreeBSD.org

View file

@ -2,6 +2,7 @@
PORTNAME= lis
DISTVERSION= 2.0.19
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://www.ssisc.org/lis/dl/

View file

@ -2,6 +2,7 @@
PORTNAME= mandelbulber2
DISTVERSION= 2.19
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,6 +3,7 @@
PORTNAME= mkl-dnn
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,6 +3,7 @@
PORTNAME= rpy2
DISTVERSION= 3.1.0
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -3,7 +3,7 @@
PORTNAME= yt
DISTVERSION= 3.5.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= math astro python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -4,7 +4,7 @@
PORTNAME= timbl
DISTVERSIONPREFIX= v
DISTVERSION= 6.4.13
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= tmv
DISTVERSIONPREFIX= v
DISTVERSION= 0.75
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org

View file

@ -2,6 +2,7 @@
PORTNAME= urh
DISTVERSION= 2.7.3
PORTREVISION= 1
CATEGORIES= misc hamradio python
MASTER_SITES= CHEESESHOP

View file

@ -4,7 +4,7 @@ PORTNAME= libopenshot
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.3-178
DISTVERSIONSUFFIX= -g17a2258
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= multimedia
MAINTAINER= tatsuki_makino@hotmail.com

View file

@ -3,7 +3,7 @@
PORTNAME= abinit
DISTVERSION= 8.10.3
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= science
MASTER_SITES= https://www.abinit.org/sites/default/files/packages/

View file

@ -3,7 +3,7 @@
PORTNAME= chrono
DISTVERSION= 4.0.0-89
DISTVERSIONSUFFIX= -ge36b5a9ce
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= science devel
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= code_saturne
PORTVERSION= 5.3.3
PORTREVISION= 1
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= science parallel

View file

@ -2,7 +2,7 @@
PORTNAME= erkale
DISTVERSION= g20190812
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org

View file

@ -2,7 +2,7 @@
PORTNAME= gabedit
DISTVERSION= 2.5.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= science
#MASTER_SITES= http://prdownloads.sourceforge.net/${PORTNAME}/ # old SF-based source
#DISTNAME= GabeditSrc${DISTVERSION:S/.//g}

View file

@ -3,7 +3,7 @@
PORTNAME= gromacs
DISTVERSION= 2019.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= science
MASTER_SITES= ftp://ftp.gromacs.org/pub/gromacs/

View file

@ -2,6 +2,7 @@
PORTNAME= lammps
PORTVERSION= ${GH_TAGNAME:C/(stable|patch)_([0-9]{1,2})([A-Z][a-z][a-z])([0-9]{4})/\4.\3.\2/S/Jan/01/S/Feb/02/S/Mar/03/S/Apr/04/S/May/05/S/Jun/06/S/Jul/07/S/Aug/08/S/Sep/09/S/Oct/10/S/Nov/11/S/Dec/12/}
PORTREVISION= 1
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= latte
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.1
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= nest
DISTVERSIONPREFIX= v
DISTVERSION= 2.18.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= science biology # NEST is used in neuroscience
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/

View file

@ -2,7 +2,7 @@
PORTNAME= openmx
DISTVERSION= 3.8.5 # the 18June12 patch upgrades 3.8 -> 3.8.5
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= science
MASTER_SITES= http://www.openmx-square.org/ \
http://www.openmx-square.org/bugfixed/18June12/:patch

View file

@ -2,6 +2,7 @@
PORTNAME= GPy
DISTVERSION= 1.9.8
PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -2,7 +2,7 @@
PORTNAME= PyFR
DISTVERSION= 1.8.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= science python
MASTER_SITES= http://www.pyfr.org/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -2,7 +2,7 @@
PORTNAME= phono3py
DISTVERSION= 1.13.3.27
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -3,7 +3,7 @@
PORTNAME= qmcpack
DISTVERSIONPREFIX= v
DISTVERSION= 3.8.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= libfolia
DISTVERSIONPREFIX= v
DISTVERSION= 1.15
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= textproc
MAINTAINER= yuri@FreeBSD.org

View file

@ -3,7 +3,7 @@
PORTNAME= ucto
DISTVERSIONPREFIX= v
DISTVERSION= 0.14.1
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= textproc
MAINTAINER= yuri@FreeBSD.org