From nobody Thu Nov 25 20:02:29 2021 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 289BC18B47D8; Thu, 25 Nov 2021 20:02:30 +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 4J0TLY3J7Xz3QFY; Thu, 25 Nov 2021 20:02:29 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 3C6B12362C; Thu, 25 Nov 2021 20:02:29 +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 1APK2TRC036088; Thu, 25 Nov 2021 20:02:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1APK2TEf036087; Thu, 25 Nov 2021 20:02:29 GMT (envelope-from git) Date: Thu, 25 Nov 2021 20:02:29 GMT Message-Id: <202111252002.1APK2TEf036087@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Tobias Kortkamp Subject: git: c4816e4763b8 - main - lang/rust*: Move the build artifacts out of source 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: tobik X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c4816e4763b8d395b4a2cb670a8aaaf33bb8def1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637870549; 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=bTXMXn3GyvN/S02bnCtVdXQ2ELV0+azQcElxRLXrykY=; b=U/ZGwukHqBCumNCvGwQtjtCOe+PZx6YMyGyiDqDHpR9ipofV8zxe9D7PgsDCcHUgCqIqf3 HlE1NvwsujCx4DsF1qYAjiTPsXlcpdE4O5jOliRWjUE+NkW/8wFUmMqKqWwTl6yy6YSgn1 IdJjA1uBQULVblRVI/KosK9LnNs4fS+1w/nyYocs1spn6DAGrmZympQ/j2j+VjDRWXnRqc 8N7q+sR7e6qJ9tkhnaHJcO7APdnd9ugtBlPFzCBut9dpxsbet4EXQvvkxdPzhuLuPRP9Mn WBKGC+F1htNC0tM72Xqcpfl7SZFtIxfXSEik2SFt6ZtNbhWgQl5bIoGtBRLeqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637870549; a=rsa-sha256; cv=none; b=ZCVC3lEodLSdi3/lxERfBDSRZ7/d66jzSETKub6aNjxqbQQE+8MeWok69p3BHo86eP4rgn BopnlhdhyvXTM3UZJ10j4k4q2BjXuKOSRSh+BTKSgazvZ/JDvoqLlK2U//EZA4rZNCRwDe 34MkaCpJdYHOwKvDhO6Tc4yjPM+aQ5AQAfZ9V/sPOsc67Koz+UmBqn1HStKgUXGE6hvwUs riwdaz/Yce+gVwyOnaCivtLoUfp8Z5gTiVj2pUua/zGrsfzRuqKug+dJ/2Qs0rH19lHG5m 8+Hf/8IKSYhNv56J575Oq1oSglxyQNk4O7HpQdR0dFkcGImq/i2Z+tSAC8BI8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tobik: URL: https://cgit.FreeBSD.org/ports/commit/?id=c4816e4763b8d395b4a2cb670a8aaaf33bb8def1 commit c4816e4763b8d395b4a2cb670a8aaaf33bb8def1 Author: Tobias Kortkamp AuthorDate: 2021-11-25 08:55:43 +0000 Commit: Tobias Kortkamp CommitDate: 2021-11-25 20:01:04 +0000 lang/rust*: Move the build artifacts out of source Move the build artifacts out of source to decrease likelihood of ccache misses because of changed build directory prefix (rustc-1.55.0-src/ vs. rustc-1.56.0-src/) per PR 246245. --- lang/rust-bootstrap/Makefile | 1 + lang/rust/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/lang/rust-bootstrap/Makefile b/lang/rust-bootstrap/Makefile index e830957fdec0..6e0fa184ffdc 100644 --- a/lang/rust-bootstrap/Makefile +++ b/lang/rust-bootstrap/Makefile @@ -96,6 +96,7 @@ do-configure: ${SH} ${SCRIPTSDIR}/rust-compat11-canary.sh @${ECHO_CMD} 'changelog-seen=2' > ${WRKSRC}/config.toml @${ECHO_CMD} '[build]' >> ${WRKSRC}/config.toml + @${ECHO_CMD} 'build-dir="${WRKDIR}/_build"' >> ${WRKSRC}/config.toml @${ECHO_CMD} 'vendor=true' >> ${WRKSRC}/config.toml @${ECHO_CMD} 'extended=false' >> ${WRKSRC}/config.toml @${ECHO_CMD} 'python="${PYTHON_CMD}"' >> ${WRKSRC}/config.toml diff --git a/lang/rust/Makefile b/lang/rust/Makefile index 5a2aee23f2df..fd1f85d6f42f 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -168,6 +168,7 @@ do-configure: .endfor @${ECHO_CMD} 'changelog-seen=2' > ${WRKSRC}/config.toml @${ECHO_CMD} '[build]' >> ${WRKSRC}/config.toml + @${ECHO_CMD} 'build-dir="${WRKDIR}/_build"' >> ${WRKSRC}/config.toml @${ECHO_CMD} 'build-stage=2' >> ${WRKSRC}/config.toml @${ECHO_CMD} 'doc-stage=2' >> ${WRKSRC}/config.toml @${ECHO_CMD} 'test-stage=2' >> ${WRKSRC}/config.toml