From nobody Sat Oct 21 14:44:22 2023 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 4SCPNk3c2Xz4y6BF; Sat, 21 Oct 2023 14:44:22 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SCPNk2B6sz4MKN; Sat, 21 Oct 2023 14:44:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697899462; 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=oc8rrIKGhE0KKQXx5Xp4IMw9aQiyTZexfY7nvWWdKW8=; b=WIiDBSNWKsqZ/R/Mm5MorBkAJdS/vjdxxeTeX0yWaKzc0jDFUeZN7r4vIxxp+GlW3RvGT6 8M11Z86XLA5HcKCENwOz7qlkWZZnB/9xtdO23vT0VdT7y3g1dasaPasVp5ITuk6JvAVYPS bKf3hpSnYSxDIKTwcQoFdi0xBLcGNew5cbZKNJNN3lMXKYDtX5AE7xjtJWXRGDweDnjoTp 14KNMHo3YvYZ3PaE3iYJPoWU4az9+cMMZL2g/+ORnkuXAxd40IHqUIyo0y9LyadHHwG+N9 SJybZBaauB6zGKsvXaopR67atADO5rfqJ9cFBv84Ponh7tYp45lsY/wl5cUUfg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697899462; a=rsa-sha256; cv=none; b=exgp+Lwe0mj7rwz7UaBGDA6SMUwOykGMwaVS+VR2XB2H4JyN4trPI1+3Jnl8npkwxWeUx6 fFEOj8+Rducf3vzU9UAWf3rzAEkWUDHqMKVj1gg5EbsCWzDTMZOMmIvQgJvlL/FEKe07Pq ztVAIKgj/EgzKsIn50bKjrRBtbpPZKWu4LZ61LOc3SyTO35ozt7IP2sgV6EQX8j7aQjAuY +87FkhhdIkqyUAtNQfr5tv/oYgB6Jmh9DICTYGJBh2VSDeaFPIdj8l1NXT7lArBXAo69QN MxhFjsKGKZgCII0lcsSkU46UygE5DQbWrfQkee898/PziGCqoShk40WkheSgvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697899462; 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=oc8rrIKGhE0KKQXx5Xp4IMw9aQiyTZexfY7nvWWdKW8=; b=ocVUs/T2t3K+3fiVjbGfQxOfMDo0X87ywDrq+6Z/HOFVceIDVTSLZ85SkcEfawy6J9Hhtv +JgwU5GWL6g8OOQgZCbsETiN++o7dfiVBdD6obIE3arRCbRaOEXqOstO+F+PqJOy3m7jUp DfzXwuhRo+aiTdRpyt82ff7FxVBzGPinqu/OWkWChLkw3SAR+tjV4QOfUqhqL0T/53Epbt 9Km77UI+rLb9eqSlw/qWrlZMBmBGH6gbaYfsHP2DatwiLLVr82iZTg0aoqJh8CUPWh2rFx X/LMWQ4JUOf4eo44hZd25cIkoFr5f+w5TyZK8W/iDS6lRNCdua05nCMhZllAVQ== 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 4SCPNk0lFqz4Fg; Sat, 21 Oct 2023 14:44:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39LEiMBX005465; Sat, 21 Oct 2023 14:44:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39LEiMVt005462; Sat, 21 Oct 2023 14:44:22 GMT (envelope-from git) Date: Sat, 21 Oct 2023 14:44:22 GMT Message-Id: <202310211444.39LEiMVt005462@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: a55268376749 - main - math/nauty: Remove NATIVE option 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a5526837674995dd0eb7ce5dbeb4d7dd1735db77 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5526837674995dd0eb7ce5dbeb4d7dd1735db77 commit a5526837674995dd0eb7ce5dbeb4d7dd1735db77 Author: Daniel Engberg AuthorDate: 2023-10-21 14:41:23 +0000 Commit: Daniel Engberg CommitDate: 2023-10-21 14:43:23 +0000 math/nauty: Remove NATIVE option This breaks on non amd64 platforms and we already have CPUTYPE that handles this type of optimization. Use "safe" optimization for all platforms PR: 272657 Approved by: portmgr (maintainer timeout, 2+ months) --- math/nauty/Makefile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/math/nauty/Makefile b/math/nauty/Makefile index b2195033d8de..c9f73459b98a 100644 --- a/math/nauty/Makefile +++ b/math/nauty/Makefile @@ -1,10 +1,11 @@ PORTNAME= nauty -PORTVERSION= 2.8.6 +DISTVERSION= 2.8.6 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= math MASTER_SITES= https://users.cecs.anu.edu.au/~bdm/nauty/ \ https://pallini.di.uniroma1.it/ -DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/g} +DISTNAME= ${PORTNAME}${DISTVERSION:S/./_/g} MAINTAINER= moritz@schmi.tt COMMENT= Nauty & Traces are programs for computing graph automorphism @@ -15,18 +16,20 @@ LICENSE= APACHE20 USES= gmake GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-tls # this makes nauty thread-safe, math/libnormaliz requires nauty with tls +CONFIGURE_ARGS= --enable-tls --disable-clz ${CONFIGURE_ARGS_${ARCH}} # this makes nauty thread-safe, math/libnormaliz requires nauty with tls +CONFIGURE_ARGS_aarch64= --enable-popcnt +CONFIGURE_ARGS_amd64= --enable-popcnt +CONFIGURE_ARGS_armv7= --enable-popcnt +CONFIGURE_ARGS_i386= --disable-popcnt +CONFIGURE_ARGS_powerpc64= --disable-popcnt +CONFIGURE_ARGS_riscv64= --disable-popcnt MAKEFILE= makefile MAKE_ARGS= includedir=${PREFIX}/include/${PORTNAME} # place headers into a dedicated directory TEST_TARGET= check -OPTIONS_DEFINE= DOCS NATIVE - -NATIVE_DESC= Build with native optimizations (-march=native, etc) -NATIVE_CONFIGURE_ON= --disable-generic --enable-clz --enable-popcnt -NATIVE_CONFIGURE_OFF= --enable-generic --disable-clz --disable-popcnt +OPTIONS_DEFINE= DOCS post-build: # build shared libraries: based on how static libraries are created # rebuild .o files with -fPIC