From nobody Sun Mar 26 11:49:38 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 4PkvPb1287z41j8K; Sun, 26 Mar 2023 11:49:39 +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 4PkvPZ6yH4z4T77; Sun, 26 Mar 2023 11:49:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679831379; 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=V6J26OqO4Ff0QeXHyOcga1QdvUBTJUfWjOv54Cl7Qmo=; b=hsA+3Zz6c2flAldWkqvnoBCYi/lXx5WMZjbzYIFCLxt5NyLLDcvZ3+yVc1Z9S4NiUijT93 K0pEP/K2x1VaY+uVUSPVTJbatIiw4LSIngps9pKV6Yp4j8AuYTWRMoWt/U1q0WBor+mD8e z1P6pLCJxli3xGEV1CneKSLF5YnO3W9eh2rVxfq8T9AqXC5tH7qgvIslA7x7LCFhhm60Km FlW4zpHbKQ7sUovpm318b8mYleL5E5zCOB5o6S+k1/YbBcH/ybn1fxrtx2PCCkXEj1N9iP bHu8DOHqrmkdX98r4V5Mup4PAszUvNH/a4AAs/R0T9yQWt+0VbAWiBxIQPPg5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679831379; 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=V6J26OqO4Ff0QeXHyOcga1QdvUBTJUfWjOv54Cl7Qmo=; b=LPGbkNzLgV+P4V2/NppZGJU+MV91+Mf3G0w++fXpcBaWNzMEh8hL8zVk8NklaDhqKFdHFG KL2cp2DN/aiuzM8acbzYHMBL+ssMokYwGacYDCLD6QVRNh37XYAvu/Xtd5XWyR0QX4GXFa T8t7HucFkEnwBiOHScYdoSbONpuz/E4Oy8gDRX9Qp87x9vGvwENK8fOVkTbNbrQ0RPhMrS AOFPyOLL4umWYMg8XPvp6OCVsDQcMAgiPsdZOTU2nOJTiSpXSmL7RqJdGsnT3HmNnSAdZn 4GPkNdLhmiMDFDz+Iwx+4MzlCXchw+GPuD1+fdKBFWHFASwNEj2/Fj7VbK7Zcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679831379; a=rsa-sha256; cv=none; b=Dav4uyYMf0zCbeZpw8nJpnfAoB8ZB853JsHOJbmse4BeKDIzXoVPWZ4jBqfEIIbe8Wz1iL jeDHSVnyeaCipoVTBlhZP8OUXsuNkJi4IcW/HGWPsuwHJfN42g4JRfXazrctSRZvyApGjF ycv4VTVfOMQAR0fD49ABc6C9F6jl62qqbPYyIRcNhIajdZqUMVtHHXdHdYI4/xMNPdQ0g6 GLSQER3zJ0eaSKvIMm+V3Zkwp2/uQucExMQLZn0s7b7g7S/OJweTlf1epREEw+EMd2Cvrd 37WE7KfAgmp0S8WlEBS/TVLgz4SwbOrEXaOEDDq9LU9VDbKYoOq4dx8Ig7kfZw== 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 4PkvPZ61KPzfh8; Sun, 26 Mar 2023 11:49:38 +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 32QBncCS024942; Sun, 26 Mar 2023 11:49:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32QBnc5d024941; Sun, 26 Mar 2023 11:49:38 GMT (envelope-from git) Date: Sun, 26 Mar 2023 11:49:38 GMT Message-Id: <202303261149.32QBnc5d024941@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Luca Pizzamiglio Subject: git: 1453ec9ec99d - main - benchmarks/unixbench: Fix arm64 build 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: pizzamig X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1453ec9ec99d5025678acb403c9f84c7beb6dbd5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pizzamig: URL: https://cgit.FreeBSD.org/ports/commit/?id=1453ec9ec99d5025678acb403c9f84c7beb6dbd5 commit 1453ec9ec99d5025678acb403c9f84c7beb6dbd5 Author: Luca Pizzamiglio AuthorDate: 2023-03-26 11:49:14 +0000 Commit: Luca Pizzamiglio CommitDate: 2023-03-26 11:49:14 +0000 benchmarks/unixbench: Fix arm64 build On arm64, some cflags are not supported. --- benchmarks/unixbench/files/patch-Makefile | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/benchmarks/unixbench/files/patch-Makefile b/benchmarks/unixbench/files/patch-Makefile index 282945fef972..3c2539dc046d 100644 --- a/benchmarks/unixbench/files/patch-Makefile +++ b/benchmarks/unixbench/files/patch-Makefile @@ -1,5 +1,5 @@ --- Makefile.orig 2023-02-07 23:18:07.000000000 +0100 -+++ Makefile 2023-02-09 21:57:42.966634000 +0100 ++++ Makefile 2023-03-26 13:40:57.699042000 +0200 @@ -46,7 +46,7 @@ # X11 libraries on your system. (e.g. libX11-devel mesa-libGL-devel) # @@ -18,22 +18,15 @@ # OPTIMISATION SETTINGS: # Use gcc option if defined UB_GCC_OPTIONS via "Environment variable" or "Command-line arguments". -@@ -87,7 +87,7 @@ - ## (-ffast-math) disables strict IEEE or ISO rules/specifications for math funcs - OPTON = -O3 -ffast-math - -- ## OS detection. Comment out if gmake syntax not supported by other 'make'. -+ ## OS detection. Comment out if gmake syntax not supported by other 'make'. - OSNAME:=$(shell uname -s) - ARCH := $(shell uname -p) - ifeq ($(OSNAME),Linux) -@@ -113,6 +113,9 @@ +@@ -113,6 +113,13 @@ CFLAGS += -Wa,-q endif + ifeq ($(OSNAME),FreeBSD) -+ OPTON += -march=native -mtune=native -fomit-frame-pointer ++ ifeq ($(ARCH),aarch64) ++ OPTON += -fomit-frame-pointer ++ else ++ OPTON += -march=native -mtune=native -fomit-frame-pointer ++ endif + endif endif - -