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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 12ED615817D for ; Sat, 22 Jun 2024 18:54:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6F5A2BC091; Sat, 22 Jun 2024 18:54:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A89AC2BC091 for ; Sat, 22 Jun 2024 18:54:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B488B34072E for ; Sat, 22 Jun 2024 18:54:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0834D1D0E for ; Sat, 22 Jun 2024 18:54:36 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1719082238.f5e5f289c9282b4ace8b0b63c28d55b9d9fa706d.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/level-zero/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/level-zero/files/level-zero-1.16.14-spdlog-libfmt.patch X-VCS-Directories: dev-libs/level-zero/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: f5e5f289c9282b4ace8b0b63c28d55b9d9fa706d X-VCS-Branch: master Date: Sat, 22 Jun 2024 18:54:36 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3e93526e-bdb4-468d-a4d1-809bf6afcb49 X-Archives-Hash: 0e3e6a07ce54b26cceec53a073dcd231 commit: f5e5f289c9282b4ace8b0b63c28d55b9d9fa706d Author: Michael Mair-Keimberger levelnine at> AuthorDate: Tue Jun 18 17:22:06 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Jun 22 18:50:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e5f289 dev-libs/level-zero: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Conrad Kostecki gentoo.org> .../files/level-zero-1.16.14-spdlog-libfmt.patch | 60 ---------------------- 1 file changed, 60 deletions(-) diff --git a/dev-libs/level-zero/files/level-zero-1.16.14-spdlog-libfmt.patch b/dev-libs/level-zero/files/level-zero-1.16.14-spdlog-libfmt.patch deleted file mode 100644 index 4d9264e0c49c..000000000000 --- a/dev-libs/level-zero/files/level-zero-1.16.14-spdlog-libfmt.patch +++ /dev/null @@ -1,60 +0,0 @@ -Find the system copy of spdlog which then tells us how to link -against both it & libfmt correctly, rather than accidentally -picking up system spdlog headers and nothing else (defines, needed -libraries, etc) when (for some reason?) FetchContent fails and we don't -realise it. - -TODO: Figure out why FetchContent(?) failing doesn't kill the build -TODO: Add a proper option for this to use the system copy/not - -Bug: https://bugs.gentoo.org/930157 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -57,9 +57,6 @@ elseif(Git_FOUND) - endif() - endif() - --include(FetchContent) --set(SPDLOG_ROOT "${FETCHCONTENT_BASE_DIR}/spdlog-src") -- - # Update other relevant variables to include the patch - set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") - set(CMAKE_PROJECT_VERSION_PATCH "${PROJECT_VERSION_PATCH}") -@@ -166,7 +163,6 @@ endif() - - include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) - include_directories(${CMAKE_CURRENT_SOURCE_DIR}/source/wrapper/include) --include_directories(${SPDLOG_ROOT}/include) - - include_directories("${CMAKE_CURRENT_SOURCE_DIR}") - -diff --git a/source/utils/CMakeLists.txt b/source/utils/CMakeLists.txt -index cb6cfb1..4e486d8 100644 ---- a/source/utils/CMakeLists.txt -+++ b/source/utils/CMakeLists.txt -@@ -1,23 +1,11 @@ - # Copyright (C) 2024 Intel Corporation - # SPDX-License-Identifier: MIT - --include(FetchContent) --set(SPDLOG_REPO https://github.com/gabime/spdlog) --set(SPDLOG_TAG v1.13.0) --FetchContent_Declare( -- spdlog -- GIT_REPOSITORY ${SPDLOG_REPO} -- GIT_TAG ${SPDLOG_TAG} --) --FetchContent_makeAvailable(spdlog) -+find_package(spdlog) - - add_library(utils -- STATIC - "logging.h" - "logging.cpp" - ) - --target_include_directories(utils -- PUBLIC -- ${FETCHCONTENT_BASE_DIR}/spdlog-src/include --) -+target_link_libraries(utils spdlog::spdlog)