From nobody Sun Feb 13 18:24:27 2022 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 CE2981949974; Sun, 13 Feb 2022 18:24:27 +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 4JxbNW5Nzlz4gy1; Sun, 13 Feb 2022 18:24:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644776667; 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=VKq2qxbE3d1TcPs8ScKhcoarxjRGxBExNmA4nAXK3SE=; b=inM/NzBNFsiaRIKWvZ5TllWOUvgYdoJt9lEQ2wik52GmaqmsHLSkb5scnI5kdyYqgZTJGQ f6HmHuS/q2WMRLSvXF+uPPVcbvtuDbWB0cCkp6AKdKVvN3wp8ZY7Q+w9AhvCC1nufJChlh gjmWFlIgJOHbsW1TlprbYqMxkTvkXSeNPkzuwd9rlZJV6r+LMsXthJ0BKdHXqIyKkmJruq bycB2CjrRLzhY+hfTQqLQV3S9TBkaAm9JBC6ouo2hsrri3VxoFXrIoKc9lk0UQgJjdVMYg 3c9nYpIoYYu8fkObLiXs11f817BNY4/LhkVB6cVo4TwZ4zdbomWiq6j80hZXnw== 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 8F2D72011C; Sun, 13 Feb 2022 18:24:27 +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 21DIORsV001745; Sun, 13 Feb 2022 18:24:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21DIORZL001744; Sun, 13 Feb 2022 18:24:27 GMT (envelope-from git) Date: Sun, 13 Feb 2022 18:24:27 GMT Message-Id: <202202131824.21DIORZL001744@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: c7644898c7e1 - main - lang/ghc: Add a patch for correctly selecting a LLVM backend. 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: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c7644898c7e173dd486e0a23b07c487d2460dee9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644776667; 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=VKq2qxbE3d1TcPs8ScKhcoarxjRGxBExNmA4nAXK3SE=; b=wAvaYXToueBdQDXLBRic76eivGZIDbKjGwLQwBJD2SHOqGQmVLZOGG3aUywylo7jnDyLzk wNMc+lLFfKwMcmVi8KhLfrtzfe6AfqQaVbaqdzbJ3eOLXZNGBNFdjdmRJu7KKjGKKg9AyH L/+Jx2PdYAfZfc9NPa9nvX/8otRyw1uOKt9jeIAV/S917kPPv9aI1irmsZc6BJi5TR6vHJ 1AW48/pxeUSuQLgXYXVPA+bzRobY2JX1GEz1nSMHBBPnBglQuM12ZL5Z4iZ6VIa5ZSnxv/ acxVAk91vrmuME22ojDtkGV7P8cpMGZkDTZ103R5k214AeCBditA5YDVNsvtIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644776667; a=rsa-sha256; cv=none; b=A2/ZibAXrmvJOYaFJKjELcLp+sNyB5iI2Q8/XhRYVBhWy3IsZnF8GTok0jjaumTAjZw+5E nqe83js76tiJBPT3Eqjq7wxF2EPvXAVZpDCUS2LK1885q1p2eC2P+gnRFyMTk83hqxTVFr Gba87TEgHn4oMXMtRk58OoveD9VjEfVVjno0F0HHP/dp3TpM/sXY0DQR6FLOMlsODHIB/L znQuclcdNofDFLTERsr+uR/49inbuvG8DrsouuNFmWAsT/tz5WGqlHr0Ue/xUfI15ZnGUN 48XBvEl3WmumdI33TSNkNbA3tbHi4JotVibBXtFcFfdQyWi3v1TB8OSTUaOhCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=c7644898c7e173dd486e0a23b07c487d2460dee9 commit c7644898c7e173dd486e0a23b07c487d2460dee9 Author: Filipe da Silva Santos AuthorDate: 2022-02-13 18:19:38 +0000 Commit: Gleb Popov CommitDate: 2022-02-13 18:23:45 +0000 lang/ghc: Add a patch for correctly selecting a LLVM backend. PR: 261798 MFH: 2022Q1 --- lang/ghc/Makefile | 1 + lang/ghc/files/patch-llvm-targets | 11 +++++++++++ lang/ghc/files/patch-utils_llvm-targets_gen-data-layout.sh | 11 +++++++++++ 3 files changed, 23 insertions(+) diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index 6d2f987eee0d..54fcd2a8ef3d 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/Makefile @@ -2,6 +2,7 @@ PORTNAME= ghc PORTVERSION= ${GHC_VERSION} +PORTREVISION= 1 CATEGORIES= lang haskell MASTER_SITES= https://www.haskell.org/ghc/dist/${PORTVERSION}/:source \ LOCAL/arrowd/:boot \ diff --git a/lang/ghc/files/patch-llvm-targets b/lang/ghc/files/patch-llvm-targets new file mode 100644 index 000000000000..7e46cd9c46e5 --- /dev/null +++ b/lang/ghc/files/patch-llvm-targets @@ -0,0 +1,11 @@ +--- llvm-targets.orig 2022-02-08 06:25:29 UTC ++++ llvm-targets +@@ -42,7 +42,7 @@ + ,("aarch64-apple-ios", ("e-m:o-i64:64-i128:128-n32:64-S128", "apple-a7", "+fp-armv8 +neon +crypto +zcm +zcz +sha2 +aes")) + ,("i386-apple-ios", ("e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:128-n8:16:32-S128", "yonah", "")) + ,("x86_64-apple-ios", ("e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", "core2", "")) +-,("amd64-portbld-freebsd", ("e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", "x86-64", "")) ++,("x86_64-portbld-freebsd", ("e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", "x86-64", "")) + ,("x86_64-unknown-freebsd", ("e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", "x86-64", "")) + ,("aarch64-unknown-freebsd", ("e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon")) + ,("armv6-unknown-freebsd-gnueabihf", ("e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64", "arm1176jzf-s", "+strict-align")) diff --git a/lang/ghc/files/patch-utils_llvm-targets_gen-data-layout.sh b/lang/ghc/files/patch-utils_llvm-targets_gen-data-layout.sh new file mode 100644 index 000000000000..7c5cddbd2bbd --- /dev/null +++ b/lang/ghc/files/patch-utils_llvm-targets_gen-data-layout.sh @@ -0,0 +1,11 @@ +--- utils/llvm-targets/gen-data-layout.sh.orig 2022-02-08 06:25:08 UTC ++++ utils/llvm-targets/gen-data-layout.sh +@@ -93,7 +93,7 @@ TARGETS=( + ######################### + + # FreeBSD amd64 +- "amd64-portbld-freebsd" ++ "x86_64-portbld-freebsd" + "x86_64-unknown-freebsd" # See #15718 + + # FreeBSD ARM