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 9CF5C138206 for ; Fri, 19 Jan 2018 22:22:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CCCCE0964; Fri, 19 Jan 2018 22:21:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 6412BE0960 for ; Fri, 19 Jan 2018 22:21:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 CFC63335C36 for ; Fri, 19 Jan 2018 22:21:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E53C81BC for ; Fri, 19 Jan 2018 22:21:55 +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: <1516400504.41a3fbb5338b1b3536ef9ac7cdadc549e53a0a51.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/lldb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/lldb/lldb-6.0.9999.ebuild dev-util/lldb/lldb-9999.ebuild X-VCS-Directories: dev-util/lldb/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 41a3fbb5338b1b3536ef9ac7cdadc549e53a0a51 X-VCS-Branch: master Date: Fri, 19 Jan 2018 22:21:55 +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: bd36c262-cf3b-4236-8cfc-aaea3da08797 X-Archives-Hash: f9f37822b752273cac680f0a9f0e0850 commit: 41a3fbb5338b1b3536ef9ac7cdadc549e53a0a51 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 19 18:41:59 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 19 22:21:44 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a3fbb5 dev-util/lldb: Pass test options only if tests are enabled dev-util/lldb/lldb-6.0.9999.ebuild | 9 +++++---- dev-util/lldb/lldb-9999.ebuild | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/dev-util/lldb/lldb-6.0.9999.ebuild b/dev-util/lldb/lldb-6.0.9999.ebuild index 0eed0f615c4..2fb31177cc4 100644 --- a/dev-util/lldb/lldb-6.0.9999.ebuild +++ b/dev-util/lldb/lldb-6.0.9999.ebuild @@ -71,10 +71,6 @@ src_configure() { -DLLVM_ENABLE_TERMINFO=$(usex ncurses) -DLLDB_INCLUDE_TESTS=$(usex test) - -DLLVM_BUILD_TESTS=$(usex test) - # compilers for lit tests - -DLLDB_TEST_C_COMPILER="$(type -P clang)" - -DLLDB_TEST_CXX_COMPILER="$(type -P clang++)" # TODO: fix upstream to detect this properly -DHAVE_LIBDL=ON @@ -87,6 +83,11 @@ src_configure() { -DCURSES_NEED_NCURSES=ON ) use test && mycmakeargs+=( + -DLLVM_BUILD_TESTS=$(usex test) + # compilers for lit tests + -DLLDB_TEST_C_COMPILER="$(type -P clang)" + -DLLDB_TEST_CXX_COMPILER="$(type -P clang++)" + -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" -DLLVM_LIT_ARGS="-vv" diff --git a/dev-util/lldb/lldb-9999.ebuild b/dev-util/lldb/lldb-9999.ebuild index ac9fc4b1211..405a88ed3c3 100644 --- a/dev-util/lldb/lldb-9999.ebuild +++ b/dev-util/lldb/lldb-9999.ebuild @@ -70,10 +70,6 @@ src_configure() { -DLLVM_ENABLE_TERMINFO=$(usex ncurses) -DLLDB_INCLUDE_TESTS=$(usex test) - -DLLVM_BUILD_TESTS=$(usex test) - # compilers for lit tests - -DLLDB_TEST_C_COMPILER="$(type -P clang)" - -DLLDB_TEST_CXX_COMPILER="$(type -P clang++)" # TODO: fix upstream to detect this properly -DHAVE_LIBDL=ON @@ -86,6 +82,11 @@ src_configure() { -DCURSES_NEED_NCURSES=ON ) use test && mycmakeargs+=( + -DLLVM_BUILD_TESTS=$(usex test) + # compilers for lit tests + -DLLDB_TEST_C_COMPILER="$(type -P clang)" + -DLLDB_TEST_CXX_COMPILER="$(type -P clang++)" + -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" -DLLVM_LIT_ARGS="-vv"