Re: [PATCH v2 1/2] ci: also define CXX environment variable
- From
Jeff King <peff@peff.net>
- Date
- Apr 12, 2024, 04:22 UTC
- Message-ID
- <20240412042247.GA1077925@coredump.intra.peff.net>
- In-Reply-To
- <e55b6912725fa478134c7a67a9e4aeab7dca2c57.1712858920.git.steadmon@google.com>
On Thu, Apr 11, 2024 at 11:14:24AM -0700, Josh Steadmon wrote:
Show 6 quoted lines
> In a future commit, we will build the fuzzer executables as part of the > default 'make all' target, which requires a C++ compiler. If we do not > explicitly set CXX, it defaults to g++ on GitHub CI. However, this can > lead to incorrect feature detection when CC=clang, since the > 'detect-compiler' script only looks at CC. Fix the issue by always > setting CXX to match CC in our CI config.
Since you took my suggestion in patch 2, this "which requires a C++ compiler" is no longer true, is it? And I don't think we'd even look at the CXX variable at all, since it's now FUZZ_CXX.
So this patch can just be dropped, I'd think.
-Peff