Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2020 17:04:36 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553456 - in head/devel/llvm10: . files/openmp
Message-ID:  <202010271704.09RH4a7V096566@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Tue Oct 27 17:04:35 2020
New Revision: 553456
URL: https://svnweb.freebsd.org/changeset/ports/553456

Log:
  Fix application of openmp patch
  
  PR:		250530
  Submitted by:	Yasuhito FUTATSUKI
  Reported by:	albert.shih@obspm.fr

Modified:
  head/devel/llvm10/Makefile
  head/devel/llvm10/files/openmp/patch-ea99c09

Modified: head/devel/llvm10/Makefile
==============================================================================
--- head/devel/llvm10/Makefile	Tue Oct 27 16:52:39 2020	(r553455)
+++ head/devel/llvm10/Makefile	Tue Oct 27 17:04:35 2020	(r553456)
@@ -141,7 +141,7 @@ LLDB_PORTDOCS=		lldb
 LLDB_VARS=		_USES_PYTHON=python:3.6+
 OPENMP_DESC=		Install libomp, the LLVM OpenMP runtime library
 OPENMP_DISTFILES=	openmp-${DISTVERSION}.src${EXTRACT_SUFX}
-OPENMP_EXTRA_PATCHES=	openmp
+OPENMP_EXTRA_PATCHES=	${PATCHDIR}/openmp
 PYCLANG_DESC=	Install python bindings to libclang
 PYCLANG_IMPLIES=	CLANG
 PYCLANG_VARS=	_USES_PYTHON=python:3.6+

Modified: head/devel/llvm10/files/openmp/patch-ea99c09
==============================================================================
--- head/devel/llvm10/files/openmp/patch-ea99c09	Tue Oct 27 16:52:39 2020	(r553455)
+++ head/devel/llvm10/files/openmp/patch-ea99c09	Tue Oct 27 17:04:35 2020	(r553456)
@@ -14,8 +14,8 @@ Date:   Mon Jan 20 18:52:10 2020 +0000
 
 diff --git a/openmp/runtime/src/kmp_affinity.h b/openmp/runtime/src/kmp_affinity.h
 index f270bb6dbb8..664a4239319 100644
---- a/openmp/runtime/src/kmp_affinity.h
-+++ b/openmp/runtime/src/kmp_affinity.h
+--- projects/openmp/runtime/src/kmp_affinity.h
++++ projects/openmp/runtime/src/kmp_affinity.h
 @@ -303,8 +303,9 @@ class KMPNativeAffinity : public KMPAffinity {
        int retval =
            syscall(__NR_sched_getaffinity, 0, __kmp_affin_mask_size, mask);
@@ -40,8 +40,8 @@ index f270bb6dbb8..664a4239319 100644
          return 0;
 diff --git a/openmp/runtime/src/z_Linux_util.cpp b/openmp/runtime/src/z_Linux_util.cpp
 index 1daa3d31047..5e2d1bd4a2f 100644
---- a/openmp/runtime/src/z_Linux_util.cpp
-+++ b/openmp/runtime/src/z_Linux_util.cpp
+--- projects/openmp/runtime/src/z_Linux_util.cpp
++++ projects/openmp/runtime/src/z_Linux_util.cpp
 @@ -164,7 +164,7 @@ void __kmp_affinity_determine_capable(const char *env_var) {
    if (gCode > 0) { // Linux* OS only
      // The optimal situation: the OS returns the size of the buffer it expects.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010271704.09RH4a7V096566>