From nobody Thu Jul 21 22:41:36 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 4LpncJ4HNTz4WSqk; Thu, 21 Jul 2022 22:41:36 +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 4LpncJ3hVkz3y8v; Thu, 21 Jul 2022 22:41:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658443296; 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=RNunT3cFg7EExc7Ouc6Loel2BuGrE9yUBc/mgEmZJXM=; b=hMsqTi6w1nrino7vBnna5mF2dVHDxG/U6r3sdkNsFYwpgn2VVJEUIPHoHv2xOCzjhrP8ST lG8K/BsKEjzKeT0gDJBIXI0jB3Zdafc8OerPNDtFfSFnH0yGIgLhzGVcVpdQT25EKagxG+ BSDxeJOSYlF4NvlTVplzmpTSgfJ7/yaaODJcPZZZMjzzfWh85+boNZe9e4x/XBYegFsD94 ruKz1RXmfbzq9oILJfu/FXFd/32HVRCyYgo90du98zxXT1wPuucNk9x3MnuJEVf8PwV5xn cPnWBJYIYo+gXJ0q9VSTXwS59ro9aqQAIaSQJEP9rnPowe0kAJAfHh+b8zv1Nw== 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 4LpncJ2mKdzdkC; Thu, 21 Jul 2022 22:41:36 +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 26LMfaVH039002; Thu, 21 Jul 2022 22:41:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26LMfaA7039001; Thu, 21 Jul 2022 22:41:36 GMT (envelope-from git) Date: Thu, 21 Jul 2022 22:41:36 GMT Message-Id: <202207212241.26LMfaA7039001@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: d5465238b2e5 - main - science/kplib: Remove -march=native to fix build on some architectures 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d5465238b2e5d217a614d348d8ad37e2c0b4eac7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658443296; 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=RNunT3cFg7EExc7Ouc6Loel2BuGrE9yUBc/mgEmZJXM=; b=EpJqpznxD9VFQKRb6o5dsUEmduyzk6y6qCi4/TQUNAskVmGX6cS6/eP1R+vlQHn5EqeDRl /DJknmWDjNZeB6Tg78l/cuVtxng93QRttbiEOChRVLIwv55RJa6B9Ct+eDYVmoQ/EHUKdx zr5Jk8dFQTTHJREK9fOsVIJQixuMqzXcyCFX8OFyi3bIG0OA4wSaQxdr5kSd/Xyjwvsg09 pKwjHJAGRS5z3jVliPGZpZa8krdpp3u5PfrJdyeLLpS5VFjn17CbG5rAe/GDVwNuDkLY+j Truum45y/RTMYidp9Oc14xAaajFbBbr8I3kuDcuQDnseTVfvl4kvirEA5UoHlA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658443296; a=rsa-sha256; cv=none; b=Miylndl1JrSBXHWI0+kN9uL6xv/Y4aGCWQTJPfqr+XAlentep26yYbTSfpBZ7IN4hYBlPX lFMxodmfzj57qI2vis+nQUfwgIoyy1YH6IIaIRdA1+eKMagLtTJqEXWblYWqgfKjEHZ5YF 52jleTSbya65DrRpIfKCVs8dEd6WG+s3i8ZnEu4TQRXGvs9SzNcToo3VzebN9dbRDw9RAQ 4nTWt1kzlNz5SS52Y1ivDRGVHk7oHurt+9c2o2TX1tVDaU4xjiIcd2uLJ2DrL+qQuTxk5N dowcOl/mtKkGiNPR4aBTx2T82xnPCicdv19Rcn7Yv3Q8/eJCdrJQzXNXBNljVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d5465238b2e5d217a614d348d8ad37e2c0b4eac7 commit d5465238b2e5d217a614d348d8ad37e2c0b4eac7 Author: Yuri Victorovich AuthorDate: 2022-07-21 22:40:43 +0000 Commit: Yuri Victorovich CommitDate: 2022-07-21 22:40:43 +0000 science/kplib: Remove -march=native to fix build on some architectures Reported by: fallout --- science/kplib/files/patch-CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/science/kplib/files/patch-CMakeLists.txt b/science/kplib/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..99cbeca9ee61 --- /dev/null +++ b/science/kplib/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2022-07-21 22:39:52 UTC ++++ CMakeLists.txt +@@ -4,7 +4,7 @@ project(kplib) + + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror -fPIC") + set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g") # Debug mode. +-set(CMAKE_CXX_FLAGS_RELEASE "-O3 -march=native") # Default optimization. ++set(CMAKE_CXX_FLAGS_RELEASE "-O3") # Default optimization. + if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE Release) + endif(NOT CMAKE_BUILD_TYPE)