From 0575eaff526efadd9c9996e050525f354ace51a6 Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Sat, 16 May 2026 06:08:41 -0700 Subject: [PATCH] github: now on to CPU CI failures --- .github/workflows/ci-cpu-linux.yml | 2 +- CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cpu-linux.yml b/.github/workflows/ci-cpu-linux.yml index 0125240a..76963c1d 100644 --- a/.github/workflows/ci-cpu-linux.yml +++ b/.github/workflows/ci-cpu-linux.yml @@ -68,7 +68,7 @@ jobs: env CC=${{ matrix.compilers.cc }} CXX=${{ matrix.compilers.cxx }} cmake .. -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True ${{ matrix.config }} - name: Build - run: cmake --build build --parallel --config Release + run: cmake --build build --parallel 3 --config Release - name: Test if: ${{ matrix.config == '' }} diff --git a/CMakeLists.txt b/CMakeLists.txt index ac68d19b..0d0d51be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,6 +111,8 @@ if (OPENEXR_FOUND) message (STATUS "Found OpenEXR version ${OPENEXR_VERSION}") else () message (STATUS "OpenEXR not found; building it from scratch.") + set (OPENEXR_BUILD_TOOLS OFF CACHE BOOL "" FORCE) + set (OPENEXR_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) add_subdirectory (src/ext/openexr) set_property (TARGET IlmThread Iex OpenEXR PROPERTY FOLDER "ext/OpenEXR")