From nobody Fri Feb 24 22:25:45 2023 X-Original-To: dev-commits-src-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 4PNkxQ1qt4z3v1qy; Fri, 24 Feb 2023 22:25:46 +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 4PNkxQ1GCdz46g8; Fri, 24 Feb 2023 22:25:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677277546; 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=7+CRCeLxoEDhPMeuA/TTDD7h3GDTY0Arm6hyaSVsQfE=; b=HcBk3b2/SkJ+lyVNO2mPM1WoKXSncw/ABGJGCsPH7kW1QvrcfJ6cJOejzSsbjJahD+h8OG Bpub88eYlB/d9Z4tRR7RZvpkYVCz4tJqW6yCgZhXZ1Nx3poSuvl8gt4otiavkfMgLSyJBZ BWJxHfADrDZJfDJkfRSANzDSG2idKw0ghcdZl+KMA4BTkwu5bfEsZraA/2Ld2BfLiblieI TSi7J5QJ5UlO78E8qtR22mVtEhP7XEkpbukBUYwRjMGlc+rXhEmNlxS1jZCVkPPRgf3h1J Tyk1aTrHaUbD0nFOvdscGI9B61BhX71Jt8Sav3ErhOxfSMp/OZIjXYh3tx+Rlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677277546; 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=7+CRCeLxoEDhPMeuA/TTDD7h3GDTY0Arm6hyaSVsQfE=; b=ISSDvPrGDPdPSktfqj4WZxBaSnL+177wrydu5NOXlxxNXtpmplTczO0JP+y8dozRaWrL9H XGUi40BuyWhNSyQbBGFznVyFrf6rr/y1KkygOi2wfOjRufAnjRk6jJkZk1cB1ALbgXiQFi Lt+fKOF+tBmPK4+sG2bdXFZQtQ/tAmez3lglJ4sKSoQzf56pm6b1AeNgJuUHxze3ojoHsa S8uJ+f0NlaIFew+tAu4JIiPBzrTR0GjFc9hrLFVMHdtaPvYYSFjtnZen20423lAE1L+arr 2sxK/TElsQ3HzywFp10Ht4+/bg92ZXn7s2j7R283cVsakl9ZfNDLMBPr3IH1kQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677277546; a=rsa-sha256; cv=none; b=grYay56T6rvGvKlxrgETlFx+U1jttENAO3OVMIKMSE+3Js+wa0bVpGWulz9Iy8U9SNFT0i ApL6I56/s4Rbrf1NOMOAlDIKBdcqsA6JJi0mbXBkw7xueuQuWUnXmHx+5ql4PZIiJJWNBd /XgGKrEjc2dc4avmOjwru9l5j6TZbf+xNnjo5k8mQl0qgAZVtw84limNrmjYycmyWOAIDt ZcE/cKSRI4/uqVFga/+A9kNuHYEwCLS+bxF42C+uR+gGZeMXXECs8kIoh/4PEG0Fn3iIVf nDbrf1Fet3XXfqaEmA46z1HMLc+1ebdD3SvK5qT5Nq5DZrcoV2dP8yx+TbGDLg== 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 4PNkxQ03vyzgS8; Fri, 24 Feb 2023 22:25:46 +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 31OMPjwq051339; Fri, 24 Feb 2023 22:25:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31OMPjdE051338; Fri, 24 Feb 2023 22:25:45 GMT (envelope-from git) Date: Fri, 24 Feb 2023 22:25:45 GMT Message-Id: <202302242225.31OMPjdE051338@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John-Mark Gurney Subject: git: eb81dd8404e5 - main - make cross build from arm64 work.. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jmg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eb81dd8404e55c8e048acfb1cd4f4c3c021afaf4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jmg: URL: https://cgit.FreeBSD.org/src/commit/?id=eb81dd8404e55c8e048acfb1cd4f4c3c021afaf4 commit eb81dd8404e55c8e048acfb1cd4f4c3c021afaf4 Author: John-Mark Gurney AuthorDate: 2023-02-24 05:47:03 +0000 Commit: John-Mark Gurney CommitDate: 2023-02-24 22:24:19 +0000 make cross build from arm64 work.. Reviewed by: dim, imp, emaste MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D38762 --- lib/clang/libllvm/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile index 01fe0705d954..a031f0fdd706 100644 --- a/lib/clang/libllvm/Makefile +++ b/lib/clang/libllvm/Makefile @@ -31,6 +31,9 @@ TARGET_ARCH?= ${MACHINE_ARCH} CFLAGS+= -DBLAKE3_NO_AVX512 -DBLAKE3_NO_AVX2 -DBLAKE3_NO_SSE41 \ -DBLAKE3_NO_SSE2 .endif +.if ${TARGET_ARCH} != "arm64" +CFLAGS+= -DBLAKE3_USE_NEON=0 +.endif SRCDIR= llvm/lib