From nobody Wed Jan 1 12:25:15 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YNTZ35dfGz5js7D; Wed, 01 Jan 2025 12:25:15 +0000 (UTC) (envelope-from git@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YNTZ343Thz4tbg; Wed, 1 Jan 2025 12:25:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735734315; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gZPoZTn9yokAJaMrQNJJ4Kia49n9bdm7t999/wvwL7s=; b=rF6ZMVlWOdJ8KSPnsllDC6HSXHv4cJMLt8KslpU7dalzCLc1NQmmH7H3Bx7qVZIYFJi4ao nfdhzcT8v/O7huNVvDUrzxI5oNTLA9FPikvalQBnLfWFtrMTqhiOH/ieHbeBO83z4qxDDu WKSaqseThEFGRLJKmTuV0ffW59rm7PEQOtOX6t7sCY5nClz0eN/HYPSH9UsDtOD6cO0suN U+Du2LMRSDTcVpyF21ewj4K7ypo02evKdFgfagX7hXnPP5X5AjwkVSjMhFzVwCrliw+aiu 36QlUPTo3y/+ALMQHz7jZApj5jVWJB/JK+Bsg+snC7IYeP7rwh9l/mZYndgPGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735734315; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gZPoZTn9yokAJaMrQNJJ4Kia49n9bdm7t999/wvwL7s=; b=sQSS6bRPrbYMzI6J7HqOWS/EvYWyq9b+cTptXo8IZ+Wx8Esxz2om0zhYYrfTuv6KkPVX2K k24/iodiNNrbWYSxDACV+hLrJNSg+nYD702VsB3LG4JBqyVXmMOPtYc/ulJcrWh6fEZWIB 3UzKzvuzwiChx/Mj9P8M9Y5TDpNf09YSQBeEYeYzVVLroKY4LtY4QTvSTJ/ve1/BcNPO54 MY79B1Bu/HQ+ImbZuj7nWMDjXThJU9gctJhX0w80vWGW6hlPTVazotqyb2/e1RcX4l9VS4 +KCQAcSvbp/NZM+ghEwFkeDTD/7du2oUSC/5yIq037aYl+1Yx6ROEy4GrVuWAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735734315; a=rsa-sha256; cv=none; b=s59tJUci8JkUgzJfjRE9O5ynlbsvx3b4sic+f8J42sTif7J6f6Sp5/3zcgp9yyiTMjA9XD 5IfdTupBwZAzSdZjNnVjM4B21ZeY4/4d1fZUwFdVNXygiLIh6CRsmP2LTEhp+KO0kj0QCR e2/Y5fWgR2C6QwUuF5UAmA6aMPzuY3sYfmdc0N+Rthh0ze+5Zos/QLyu760SEmwkS+fJVD edfkv/7NSkPL2+MCXA15rrJWTtni7QacxrGR/Lyrl+E/Js99DUYFbynxvvn6X5sIzxB3oi GgCNK3037AVMwA5u4ZMOjY/p+BbMl9oAZKm4tsYenuEdNkqRVu+R7/dPnfTyXg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YNTZ33gC4zP1q; Wed, 1 Jan 2025 12:25:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 501CPFmr090239; Wed, 1 Jan 2025 12:25:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 501CPFNi090236; Wed, 1 Jan 2025 12:25:15 GMT (envelope-from git) Date: Wed, 1 Jan 2025 12:25:15 GMT Message-Id: <202501011225.501CPFNi090236@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: e57fccae01e0 - main - science/rdkit: fix build on armv7 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e57fccae01e00fc6935f27175a4be44bdc141048 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=e57fccae01e00fc6935f27175a4be44bdc141048 commit e57fccae01e00fc6935f27175a4be44bdc141048 Author: Robert Clausecker AuthorDate: 2024-12-29 21:33:24 +0000 Commit: Robert Clausecker CommitDate: 2025-01-01 12:24:55 +0000 science/rdkit: fix build on armv7 Only attempt to use -mpopcnt on architectures known to support it Approved by: portmgr (build fix blanket) Event: 38C3 --- science/rdkit/files/patch-CMakeLists.txt | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/science/rdkit/files/patch-CMakeLists.txt b/science/rdkit/files/patch-CMakeLists.txt index a4594f30ae57..ae2118c6df4d 100644 --- a/science/rdkit/files/patch-CMakeLists.txt +++ b/science/rdkit/files/patch-CMakeLists.txt @@ -1,6 +1,23 @@ ---- CMakeLists.txt.orig 2020-06-10 03:59:48 UTC +--- CMakeLists.txt.orig 2024-12-20 08:56:08 UTC +++ CMakeLists.txt -@@ -432,12 +432,14 @@ if(NOT RDK_INSTALL_INTREE) +@@ -76,12 +76,12 @@ if(NOT MSVC) + + if(NOT MSVC) + if(RDK_OPTIMIZE_POPCNT) +- if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64|arm64)") +- message("RDK_OPTIMIZE_POPCNT is not available on aarch64 or arm64") +- elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(ppc64|powerpc64)") ++ if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(ppc64|powerpc64)") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mpopcntd") +- else() ++ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(i386|amd64|x86_64)") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mpopcnt") ++ else() ++ message("RDK_OPTIMIZE_POPCNT is not available on your architecture") + endif() + endif() + endif() +@@ -516,12 +516,14 @@ if(NOT RDK_INSTALL_INTREE) COMPONENT data PATTERN ".svn" EXCLUDE )