From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 419CD1396D0 for ; Sun, 1 Oct 2017 12:00:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97296E0BE7; Sun, 1 Oct 2017 12:00:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 76873E0BE7 for ; Sun, 1 Oct 2017 12:00:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 458E934185F for ; Sun, 1 Oct 2017 12:00:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C1F088F66 for ; Sun, 1 Oct 2017 12:00:22 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1506859218.a32b3dea8e22c1ef92266590c25757bbfcd861dd.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild X-VCS-Directories: sys-libs/compiler-rt-sanitizers/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a32b3dea8e22c1ef92266590c25757bbfcd861dd X-VCS-Branch: master Date: Sun, 1 Oct 2017 12:00:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4a491270-6a2a-4645-acbb-47b2ec824f08 X-Archives-Hash: 410735e2dab258a35f9d55f28ef377f8 commit: a32b3dea8e22c1ef92266590c25757bbfcd861dd Author: Michał Górny gentoo org> AuthorDate: Sun Oct 1 11:35:41 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Oct 1 12:00:18 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32b3dea sys-libs/compiler-rt-sanitizers: Fix running unsandbox+lit correctly .../compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild index c656e22061b..aec72902a47 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild @@ -86,10 +86,15 @@ src_configure() { -DCOMPILER_RT_BUILD_XRAY=ON ) if use test; then + cat > "${T}"/unsandbox-lit.py <<-EOF || die + import os, sys + os.execlp("unsandbox", sys.argv[0], "lit", *sys.argv[1:]) + EOF + mycmakeargs+=( -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/unsandbox" - -DLLVM_LIT_ARGS="lit;-vv" + -DLLVM_EXTERNAL_LIT="${T}/unsandbox-lit.py" + -DLLVM_LIT_ARGS="-vv" # they are created during src_test() -DCOMPILER_RT_TEST_COMPILER="${BUILD_DIR}/lib/llvm/${LLVM_SLOT}/bin/clang"