From nobody Wed Jun 08 14:49:53 2022 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 4D1FC852980; Wed, 8 Jun 2022 14:49:54 +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 4LJ99t1cW4z4VhZ; Wed, 8 Jun 2022 14:49:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654699794; 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=fWG3DIOh3rXB/POH/zO15SufNh98/A9iCSg1/2U6b54=; b=BcoLn+J44MammTLT+Lg7yoFLDL2edaf5FIljmUQc2Izw6mxhoWST3aifpqIURteAyzVI24 1UxZrHpx3Q9BTAYhrcpebUh1ATntPX1o32fvwLBZhBiimAPu0YRQ9ItBAVGS0V4XCamuzK mIYoX5zjKOLI/GznH55m5obdvFK261X102TkDMHII/6Em3qQSxdtFhWd/rVOpVDPARqGbE CPGMNCAcO/vlRkOH+kUpX325F0Lc5tFowzP7DyLnkc6TVp6pjkPX4zrE8M4yfOqMFHLGMg p+z/4me6KPLqqmjTrGouDLPOla/AtK1EqevYmlywWSbAvY4gjrOlqZxYwSUFLg== 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 1845F11CA4; Wed, 8 Jun 2022 14:49:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 258EnsGZ099765; Wed, 8 Jun 2022 14:49:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 258Enrpt099764; Wed, 8 Jun 2022 14:49:53 GMT (envelope-from git) Date: Wed, 8 Jun 2022 14:49:53 GMT Message-Id: <202206081449.258Enrpt099764@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: f20e835c6284 - main - math/hptt: don't set march=native and properly check for powerpc64le 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f20e835c6284ff19fd83cbbd0ee7723527e2c25a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654699794; 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=fWG3DIOh3rXB/POH/zO15SufNh98/A9iCSg1/2U6b54=; b=Qq1KHm0kSR8KTVN+muiv1KF+ix7FRIWUh86bRt4eVat7YPLt489Pp+p0IkQcbu1TdPOGHD yXO4ijGWN4ulq8OoizjCM0PdjvYp48d905YZQeyZUARhzYv3qX6k4zWWtwpA/JysABBLI9 BjPh+WeNVe/smjfsocxSCr4v6vt0F5+zNSYXqmvQ8y1WTUlOcLn+d6ctbkzcLMlUbx3UzC 0xzt2FAvcc269v+80Xv9vwwY9kyXrZyGdHYBajSWigk0nR0E4O6R44p09D08zBoRhLc483 htb8fCGO5BLreTi96avYDUJ4T5wf6gQnSCcEDZjhFra/gkbX0BL5NFvZXNY19Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654699794; a=rsa-sha256; cv=none; b=DlYpz7pyPkD4NRiDfcP8jtfAUy/0yNxHpZfy2vfe5Llk5MalSpNzqOBFGxCRPJnJ4H4NBQ eImzROIr9Zw49+2Hikt1J2yIFt7Hk8sSJPnVAB8Xzsnlq8jLZg8SClPxfDPM/G1OVVvJ8b rPr17t/TPrB+BG8aJL5PXj5EzGxznXF7MC0+30n6OHAV9JR8ni83n5ompYL8dV5iPUstRH oEui6Vg77ZMzCD08H2BlHeK52Iso3pIT2ePUZemXv9p3AyeZ/sqnR8KRTJgKcFSsHAF4PQ RoLaAlzH0oWEuzjqx1BR/FbDyb9tWQQKCjCLsF3+zD0DAGq3+7OAuJw7Ip4FTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=f20e835c6284ff19fd83cbbd0ee7723527e2c25a commit f20e835c6284ff19fd83cbbd0ee7723527e2c25a Author: Piotr Kubaj AuthorDate: 2022-06-08 14:49:06 +0000 Commit: Piotr Kubaj CommitDate: 2022-06-08 14:49:51 +0000 math/hptt: don't set march=native and properly check for powerpc64le --- math/hptt/files/patch-CMakeLists.txt | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/math/hptt/files/patch-CMakeLists.txt b/math/hptt/files/patch-CMakeLists.txt index a1194edf89fb..ebc76b154c46 100644 --- a/math/hptt/files/patch-CMakeLists.txt +++ b/math/hptt/files/patch-CMakeLists.txt @@ -1,6 +1,29 @@ ---- CMakeLists.txt.orig 2022-05-31 20:45:22 UTC +--- CMakeLists.txt.orig 2022-02-15 08:26:18 UTC +++ CMakeLists.txt -@@ -37,7 +37,7 @@ endif() +@@ -7,20 +7,16 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) + set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + set(ENABLE_IBM OFF) + +-if(CMAKE_SYSTEM_PROCESSOR STREQUAL "ppc64le") ++if(CMAKE_SYSTEM_PROCESSOR MATCHES "(powerpc64le|ppc64le)") + set(ENABLE_IBM ON) + endif() + + if(CMAKE_CXX_COMPILER_ID STREQUAL "Intel") + set(HPTT_CXX_FLAGS ${HPTT_CXX_FLAGS} -qopenmp -xhost) + elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") +- if(ENABLE_IBM) + set(HPTT_CXX_FLAGS ${HPTT_CXX_FLAGS} -fopenmp) +- else() +- set(HPTT_CXX_FLAGS ${HPTT_CXX_FLAGS} -fopenmp -march=native -mtune=native) +- endif() + elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") +- set(HPTT_CXX_FLAGS ${HPTT_CXX_FLAGS} -fopenmp -march=native) ++ set(HPTT_CXX_FLAGS ${HPTT_CXX_FLAGS} -fopenmp) + elseif(CMAKE_CXX_COMPILER_ID STREQUAL "PGI") + set(HPTT_CXX_FLAGS ${HPTT_CXX_FLAGS} -silent -w -Mnovect) + elseif(CMAKE_CXX_COMPILER_ID STREQUAL "XL") +@@ -37,7 +33,7 @@ endif() set(HPTT_SRCS src/hptt.cpp src/plan.cpp src/transpose.cpp src/utils.cpp)