From nobody Wed Feb 19 11:57:54 2025 X-Original-To: dev-commits-ports-all@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 4YyZdt4S6mz5pGCV; Wed, 19 Feb 2025 11:57:54 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YyZdt2C1Mz3Mlj; Wed, 19 Feb 2025 11:57:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739966274; 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=R73hQrkhEuNj4oOYlfPQ+ZDbt1BHlWnfH4nTqEOtYg4=; b=cT7VHmSgNl3J01a4wr5ompkEhMD0R/iazp7kn1TZn9SWQFwMRw3OSA2ObB1/ODKwg1KdBC 447w/Y1/ULT5MR3gRFZ5VMjGgeAuq4ANGo20Qbd6dFuZfE1mWoB8ZFowSdaY2743m1VCyq VuRC3tsFxXogU/2ycJan9ERA3olgXH3HTahWzjzfsm80JKY1alI/37jM8SLP8j1w6YL/H9 vn5vdEsw3ykZorEgSd4OjN59hL/Q7Z0YRFIPwDg0bxjPtwOQxVU702gQps/u+339UDKcSm mbfLSVNlzZNd3STsAFb3uzVHZ3AeynShHffv5GpLEoL/mC0GjZsB4rraU4g+oQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739966274; a=rsa-sha256; cv=none; b=lR5GviYk161mFn4+1hOcd2JJRq8Y+YMMFWRaWjX3/iPNxn1ietQ+ecD8JiESCtBsstb8Kb pJh7SugkKZru8usJNaGLx8rP/EkXsOv6wbvNEL1/ZelYRVv4loInCw18c0eAdkiYNRtz5Q tW/Mp4ooW4zMPLFnkIbGir7GvKVosLUSVyssILcU190QtgDznsQlOgI7rpp5hBu4ogfCd8 L3xGaF9T0/sK5r1EasNO5DL9p+0/TdvG0pzkdJNMSclMZwyrsAwWmigpgNiYI+fMoMs879 v02q66VwiES4YUsfHX+5B3GoMYtx8aD7bCO6W3ftTX29iA6MUjZP8xvlZnpO1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739966274; 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=R73hQrkhEuNj4oOYlfPQ+ZDbt1BHlWnfH4nTqEOtYg4=; b=LCIxyHGP1/khgxHI95f8fO1qBu1a1h58/t3X6B7ITiGoAY0kemmdIU8rN60hL7MHBA0D4Q n7ro1n+bVAsist0OMBaQE4oLeLJG7YR7FT4RLNj+B5/oJE+KxblMzBFzxrqHR4LQIAF+lp 60mLZ+KuCT8DNGhyy6j217WvrslKxp/vFbwELzWTXrx2IE88pFboNcwa42IG1YC/zQOsYk q1uJrAO47EJBmUG6MSQ5/seP1ey8ySZUITSOZfyGlyrEiopRHTWpTRds4k/3zlMfROGS0u Ig3ersh4zMW9TJ5Z5J3KR5ySD9nXgpsi/uHGWzQ8cBG68IA7S7+IYD37VVLTHA== 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 4YyZdt1lJhz14Kv; Wed, 19 Feb 2025 11:57:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 51JBvsho071795; Wed, 19 Feb 2025 11:57:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51JBvsZD071792; Wed, 19 Feb 2025 11:57:54 GMT (envelope-from git) Date: Wed, 19 Feb 2025 11:57:54 GMT Message-Id: <202502191157.51JBvsZD071792@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 95d1b03827bd - main - graphics/gdal: Document CMAKE_CXX_SCAN_FOR_MODULES in d8feecdf7fdb6514ad4b714e69b2045d8c297d52 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 95d1b03827bd565b06e8888b66bcaf79e58f2b13 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=95d1b03827bd565b06e8888b66bcaf79e58f2b13 commit 95d1b03827bd565b06e8888b66bcaf79e58f2b13 Author: Po-Chuan Hsieh AuthorDate: 2025-02-19 11:53:42 +0000 Commit: Po-Chuan Hsieh CommitDate: 2025-02-19 11:53:42 +0000 graphics/gdal: Document CMAKE_CXX_SCAN_FOR_MODULES in d8feecdf7fdb6514ad4b714e69b2045d8c297d52 C++ 20 introduced the concept of "modules" to the language. The design requires build systems to order compilations among each other to satisfy import statements reliably. CMake's implementation asks the compiler to scan source files for module dependencies during the build, collates scanning results to infer ordering constraints, and tells the build tool how to dynamically update the build graph. cmake-cxxmodules(7) was added in cmake 3.28. It will scan for c++ modules for c++20 by default. Since poppler uses c++20, it triggers cmake to scan modules by default and it requires clang-scan-deps from llvm. Therefore, we need to turn off CMAKE_CXX_SCAN_FOR_MODULES to fix the build and avoid adding extra dependency on llvm. Reference: https://cmake.org/cmake/help/latest/manual/cmake-cxxmodules.7.html --- graphics/gdal/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile index e9e7c3a80c38..0988a7204e1f 100644 --- a/graphics/gdal/Makefile +++ b/graphics/gdal/Makefile @@ -31,6 +31,7 @@ CMAKE_OFF= BUILD_CSHARP_BINDINGS \ BUILD_TESTING \ BUILD_VSIPRELOAD \ CLANG_TIDY_ENABLED \ + CMAKE_CXX_SCAN_FOR_MODULES \ CSHARP_MONO \ ENABLE_DEFLATE64 \ GDAL_ENABLE_HDF5_GLOBAL_LOCK \ @@ -54,8 +55,7 @@ CMAKE_OFF= BUILD_CSHARP_BINDINGS \ GDAL_USE_TIFF_INTERNAL \ GDAL_USE_ZLIB_INTERNAL \ HDFS_ENABLED \ - SWIG_REGENERATE_PYTHON \ - CMAKE_CXX_SCAN_FOR_MODULES + SWIG_REGENERATE_PYTHON CMAKE_ON= BUILD_APPS \ BUILD_SHARED_LIBS \ BUILD_STATIC_LIBS \