From nobody Fri Jul 14 01:26:14 2023 X-Original-To: dev-commits-ports-all@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 4R2DMW408wz4mh8q; Fri, 14 Jul 2023 01:26: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R2DMV5GWxz4c8p; Fri, 14 Jul 2023 01:26:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689297974; 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=gpyV73WF22GEORz11yubtOKeRromtligG1VH7F+HDME=; b=iFrACQnACNkNS22UnEyr80SWhzJ8DNQEiKuArWteSXsejITn4RlZp48HRdOyASrCBXPSfH rumQ65W3VgU6yq+9r5DGTHjah6k9q5jGIRaoro4FMbP2qmw56C9t7faglnIw1Bwwm5nDtm Vqr8vq+mFAcdZcBh328AWp2OzgONf6qtpRltKu7V3QR3N3cfBz3F8Jotsjk5CcrSv9ZHNV XzP2bbBQJsFUHv20oXrHBpZ281c1ictzaV5mN/nI8pyEpaDRwzRy+OporGW0TQJ2JKgjLw qlDo+eExpzuDCYG8QFrXAxZZ5qe55OQllDaX72Y5vwATwpn3wTqLdll6E116MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689297974; 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=gpyV73WF22GEORz11yubtOKeRromtligG1VH7F+HDME=; b=ZaJy1iFR5gPYtazb/9zvi/tRtD6wscN+3PL2jEQNqCWMMBILPGXQ/Kx14LV1aRGrY2aBaH cdxhf0eon3NyVbYVgEVJLbwR7RylrWrPsmdxQnrA4M8c7mWy+AZHFvYcyKQ4mqg9QPh0eC +23oG+XbS3NF6syGSds6ehgvEDBI9L8wl1zUg/XBwATtIO61Rdpfo/3i4HjlQqAWQFbNMd UUuhevVCsoelKWCncV3Imt/z/nonQyv+TP9bQZDLuCQ/El8fV3k9lh5ZvZbpLhHS/Uw2Fl 25jSbhJgRw5y3QsNd8YFCX0FbdDBzf1YvPQLvxGAyT4j6hJD2jJ0vYytySPB2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689297974; a=rsa-sha256; cv=none; b=obiLZ5Fd1fB6uK1TjzsNhV5ZURbd/1CJ1mY+VvV8LXBk47YLcJnmOCms3Sajq156wokafq 7Jda8/UD14IKIznG4SQ4aJwv9jGvBDDvHoY+j7fk/6RhxvApFKLgUulGA+NArs+Uxntt7b BFzaGZ+anRBhR0zhCYjLbk2+DJv5GI2ziM35P8IJ2XN879aS/+smb/S1g1ySflBHbaVDcE tOVaYjYrwq4ofZryIflkFsjhnAqV+YPIffM6HQrpnVXfWH+nvpPw42V2bh5LfzWLU29JZ0 2frj1SYhwA+lg5x4ThMdeifJPGy3G3zkmSxr5lrE1nh4+RqTWITCgKIQwnKyUw== 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 4R2DMV4FMMz1D8H; Fri, 14 Jul 2023 01:26:14 +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 36E1QEsd002178; Fri, 14 Jul 2023 01:26:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36E1QE8l002177; Fri, 14 Jul 2023 01:26:14 GMT (envelope-from git) Date: Fri, 14 Jul 2023 01:26:14 GMT Message-Id: <202307140126.36E1QE8l002177@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 0efd6e6a4117 - main - science/libxc: Add NATIVE option List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0efd6e6a411705013e0e7e41f22847aba4e32ce7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=0efd6e6a411705013e0e7e41f22847aba4e32ce7 commit 0efd6e6a411705013e0e7e41f22847aba4e32ce7 Author: Yuri Victorovich AuthorDate: 2023-07-14 01:24:29 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-14 01:24:29 +0000 science/libxc: Add NATIVE option ... to have no native optimizations by default. Otherwise libxc caused illegal instruction errors in science/sirius. --- science/libxc/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/science/libxc/Makefile b/science/libxc/Makefile index 97d3c876ff34..2207601fb62a 100644 --- a/science/libxc/Makefile +++ b/science/libxc/Makefile @@ -1,6 +1,6 @@ PORTNAME= libxc DISTVERSION= 6.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MASTER_SITES= https://www.tddft.org/programs/${PORTNAME}/down/${DISTVERSION}/ @@ -18,6 +18,10 @@ TEST_DEPENDS= bash:shells/bash CMAKE_ON= BUILD_SHARED_LIBS ENABLE_FORTRAN ENABLE_PYTHON CMAKE_OFF= BUILD_TESTING +OPTIONS_DEFINE= NATIVE + +NATIVE_CMAKE_BOOL= ENABLE_XHOST + pre-configure: ${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/pylibxc$$|${PYTHONPREFIX_SITELIBDIR}/pylibxc|' \ -e 's|$${CMAKE_INSTALL_PREFIX}/$${CMAKE_INSTALL_LIBDIR}/pylibxc/|${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pylibxc/|'\