From owner-svn-ports-all@freebsd.org Wed Mar 3 17:48:45 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3FD82549F58; Wed, 3 Mar 2021 17:48:45 +0000 (UTC) (envelope-from mikael@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 4DrM1T16Rkz4cBT; Wed, 3 Mar 2021 17:48:45 +0000 (UTC) (envelope-from mikael@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 14F4D5E90; Wed, 3 Mar 2021 17:48:45 +0000 (UTC) (envelope-from mikael@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 123HmipR025407; Wed, 3 Mar 2021 17:48:44 GMT (envelope-from mikael@FreeBSD.org) Received: (from mikael@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 123HmiYA025405; Wed, 3 Mar 2021 17:48:44 GMT (envelope-from mikael@FreeBSD.org) Message-Id: <202103031748.123HmiYA025405@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mikael set sender to mikael@FreeBSD.org using -f From: Mikael Urankar Date: Wed, 3 Mar 2021 17:48:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567105 - head/lang/ghc X-SVN-Group: ports-head X-SVN-Commit-Author: mikael X-SVN-Commit-Paths: head/lang/ghc X-SVN-Commit-Revision: 567105 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 17:48:45 -0000 Author: mikael Date: Wed Mar 3 17:48:44 2021 New Revision: 567105 URL: https://svnweb.freebsd.org/changeset/ports/567105 Log: lang/ghc: Update arm bootstrap The ghc bootstrap (v8.6.5) on arm requires devel/llvm60, this llvm version is obsolete and still uses python2.7 to build, update the bootstrap to a newer version (v8.10.4) that requires devel/llvm90 Bump bootstrap to 8.10.4 on arm Bump minimum required FreeBSD version, 12.1 is not supported anymore Drop unecessary RUN_DEPENDS Collapse arm ARCH conditionnal Approved by: arrowd Differential Revision: https://reviews.freebsd.org/D28906 Modified: head/lang/ghc/Makefile head/lang/ghc/distinfo Modified: head/lang/ghc/Makefile ============================================================================== --- head/lang/ghc/Makefile Wed Mar 3 17:06:13 2021 (r567104) +++ head/lang/ghc/Makefile Wed Mar 3 17:48:44 2021 (r567105) @@ -79,7 +79,7 @@ CABAL_VERSION= 3.2.1.0 HSCOLOUR_VERSION= 1.24.4 LLVM_VERSION= 90 # LLVM version that bootstrap compiler uses -BOOT_LLVM_VERSION= 60 +BOOT_LLVM_VERSION= 90 PLIST_SUB= GHC_VERSION=${GHC_VERSION} CABAL_VERSION=${CABAL_VERSION} @@ -101,6 +101,8 @@ CONFIGURE_ARGS+= --enable-dtrace=0 .if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 BOOT_GHC_VERSION= 8.6.3 +.elif ${ARCH} == aarch64 || ${ARCH:Marmv*} +BOOT_GHC_VERSION= 8.10.4 .else BOOT_GHC_VERSION= 8.6.5 .endif @@ -140,7 +142,8 @@ ELEVEN_SUFX= 11 DISTFILES+= ghc-${BOOT_GHC_VERSION}-boot-${ARCH}-freebsd${BOOTSTRAPS_SUFFIX}${ELEVEN_SUFX}${EXTRACT_SUFX}:boot .endif # MBOOT -.if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7 +.if ${ARCH} == aarch64 || ${ARCH:Marmv*} +# ghc-8.10.x on arm requires devel/llvm90 # CONFIGURE_TARGET must to be the same as the llvm triple CONFIGURE_TARGET= ${ARCH}-unknown-freebsd${"${ARCH:Maarch64}" != "":?:-gnueabihf} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-aclocal.m4 @@ -155,16 +158,15 @@ CONFIGURE_ENV+= LLC=llc${LLVM_VERSION} \ # LLVM versions, we have to pull in both. Luckily, this is relatively rare. . if ${BOOT_LLVM_VERSION} != ${LLVM_VERSION} BUILD_DEPENDS+= llc${BOOT_LLVM_VERSION}:devel/llvm${BOOT_LLVM_VERSION} -RUN_DEPENDS+= llc${BOOT_LLVM_VERSION}:devel/llvm${BOOT_LLVM_VERSION} # Keep in sync with BOOT_LLVM_VERSION -BINARY_ALIAS+= llc-6.0=llc60 \ - opt-6.0=opt60 +BINARY_ALIAS+= llc-9.0=llc90 \ + opt-9.0=opt90 . endif .endif -.if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == powerpc64 -. if ${OSVERSION} < 1201000 -IGNORE= lang/ghc requires at least FreeBSD 12.1-RELEASE +.if ${ARCH} == aarch64 || ${ARCH:Marmv*} || ${ARCH} == powerpc64 +. if ${OSVERSION} < 1202000 +IGNORE= lang/ghc requires at least FreeBSD 12.2-RELEASE . endif . ifdef QEMU_EMULATING IGNORE= qemu-user-static isn't able to build lang/ghc, but it builds fine on a real hardware Modified: head/lang/ghc/distinfo ============================================================================== --- head/lang/ghc/distinfo Wed Mar 3 17:06:13 2021 (r567104) +++ head/lang/ghc/distinfo Wed Mar 3 17:48:44 2021 (r567105) @@ -9,12 +9,12 @@ SHA256 (ghc-8.6.5-boot-amd64-freebsd11.tar.xz) = 07d4c SIZE (ghc-8.6.5-boot-amd64-freebsd11.tar.xz) = 68965716 SHA256 (ghc-8.6.5-boot-i386-freebsd11.tar.xz) = cd208fbb6b2a158ff8c5d6227e0babd8c224867ea301abf970dc446f04c9e95f SIZE (ghc-8.6.5-boot-i386-freebsd11.tar.xz) = 67439136 -SHA256 (ghc-8.6.5-boot-aarch64-freebsd.tar.xz) = 63d461161c87132a3c3d3683c4995f4209e139fe719a25e551a600412c11aa3e -SIZE (ghc-8.6.5-boot-aarch64-freebsd.tar.xz) = 136306580 -SHA256 (ghc-8.6.5-boot-armv6-freebsd.tar.xz) = 1fe5f4f5d1bfec5d45b0f92101b5be818b221c730655a4f1b31ecbb8382b7108 -SIZE (ghc-8.6.5-boot-armv6-freebsd.tar.xz) = 136889664 -SHA256 (ghc-8.6.5-boot-armv7-freebsd.tar.xz) = ce4bc7fd20bb420963081171e483beb7387f9704323f7c03e36bbf3bf68a00ea -SIZE (ghc-8.6.5-boot-armv7-freebsd.tar.xz) = 135237856 +SHA256 (ghc-8.10.4-boot-aarch64-freebsd.tar.xz) = f5739647d97c0f2b217bd8cb01a40a38b5659e1743cf97d1f55c8c8536d4e6e9 +SIZE (ghc-8.10.4-boot-aarch64-freebsd.tar.xz) = 121587472 +SHA256 (ghc-8.10.4-boot-armv6-freebsd.tar.xz) = 04b207b787bdff71028b8d4c311a47105d7b098809e8fd21b788b1ab0dccdf22 +SIZE (ghc-8.10.4-boot-armv6-freebsd.tar.xz) = 148679080 +SHA256 (ghc-8.10.4-boot-armv7-freebsd.tar.xz) = db94e69b83a93fba9c136e890ccb0bf76b6d163ac3979dadb1568e81c3267744 +SIZE (ghc-8.10.4-boot-armv7-freebsd.tar.xz) = 149265452 SHA256 (ghc-8.6.5-boot-powerpc64-freebsd-elfv2.tar.xz) = 89dfbfab84aef489ca9d0ff6fdf97152cff2412f6a8b9b1e57025b2019908318 SIZE (ghc-8.6.5-boot-powerpc64-freebsd-elfv2.tar.xz) = 113782560 SHA256 (ghc-8.6.3-boot-powerpc64-freebsd-elfv1.tar.xz) = fb9bd4bad3a54722b7012c0a531cbdfe71b3b20a0b92cbd52195a526dc5ccde4