From owner-svn-ports-head@freebsd.org Thu Jan 14 03:04:50 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 27F274D27C8; Thu, 14 Jan 2021 03:04:50 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DGTgk0PHdz4g1P; Thu, 14 Jan 2021 03:04:50 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 00E2022ACF; Thu, 14 Jan 2021 03:04:50 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10E34nNk014512; Thu, 14 Jan 2021 03:04:49 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10E34nqt014510; Thu, 14 Jan 2021 03:04:49 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202101140304.10E34nqt014510@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Thu, 14 Jan 2021 03:04:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561531 - in head/science/rdkit: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/science/rdkit: . files X-SVN-Commit-Revision: 561531 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2021 03:04:50 -0000 Author: pkubaj Date: Thu Jan 14 03:04:49 2021 New Revision: 561531 URL: https://svnweb.freebsd.org/changeset/ports/561531 Log: science/rdkit: fix packaging on powerpc64 Also switch not-working with Clang -mpopcntb with -mpopcntd (as a side effect it also raises requirements from POWER5 to POWER7). MFH: 2021Q1 Modified: head/science/rdkit/files/patch-CMakeLists.txt head/science/rdkit/pkg-plist Modified: head/science/rdkit/files/patch-CMakeLists.txt ============================================================================== --- head/science/rdkit/files/patch-CMakeLists.txt Thu Jan 14 03:01:31 2021 (r561530) +++ head/science/rdkit/files/patch-CMakeLists.txt Thu Jan 14 03:04:49 2021 (r561531) @@ -1,6 +1,16 @@ ---- CMakeLists.txt.orig 2018-10-22 02:29:34 UTC +--- CMakeLists.txt.orig 2020-12-12 08:00:55 UTC +++ CMakeLists.txt -@@ -410,7 +410,7 @@ if(NOT RDK_INSTALL_INTREE) +@@ -68,7 +68,7 @@ if(NOT MSVC) + if(RDK_OPTIMIZE_POPCNT) + if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64") + message("RDK_OPTIMIZE_POPCNT is not available on aarch64") +- elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "ppc64le") ++ elseif(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "^(ppc64|powerpc64)") +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mpopcntb") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mpopcntd") + else() + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mpopcnt") +@@ -460,7 +460,7 @@ if(NOT RDK_INSTALL_INTREE) PATTERN ".svn" EXCLUDE ) install(DIRECTORY Docs DESTINATION Modified: head/science/rdkit/pkg-plist ============================================================================== --- head/science/rdkit/pkg-plist Thu Jan 14 03:01:31 2021 (r561530) +++ head/science/rdkit/pkg-plist Thu Jan 14 03:04:49 2021 (r561531) @@ -314,10 +314,10 @@ include/rdkit/RDGeneral/utils.h include/rdkit/RDGeneral/versions.h include/rdkit/RDStreams/streams.h include/rdkit/RingDecomposerLib.h -include/rdkit/SimDivPickers/DistPicker.h -include/rdkit/SimDivPickers/HierarchicalClusterPicker.h -include/rdkit/SimDivPickers/LeaderPicker.h -include/rdkit/SimDivPickers/MaxMinPicker.h +%%LITTLE_ENDIAN%%include/rdkit/SimDivPickers/DistPicker.h +%%LITTLE_ENDIAN%%include/rdkit/SimDivPickers/HierarchicalClusterPicker.h +%%LITTLE_ENDIAN%%include/rdkit/SimDivPickers/LeaderPicker.h +%%LITTLE_ENDIAN%%include/rdkit/SimDivPickers/MaxMinPicker.h lib/cmake/rdkit/rdkit-config-version.cmake lib/cmake/rdkit/rdkit-config.cmake lib/cmake/rdkit/rdkit-targets-%%CMAKE_BUILD_TYPE%%.cmake