File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,13 +77,13 @@ jobs:
7777 if : ${{ matrix.os == 'windows-latest' }}
7878 run : |
7979 cd build
80- cmake .. -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT"/scripts/buildsystems/vcpkg.cmake -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True -DPBRT_OPTIX7_PATH =../optix/${{ matrix.optix }} -DPBRT_GPU_SHADER_MODEL=sm_80
80+ cmake .. -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT"/scripts/buildsystems/vcpkg.cmake -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True -DPBRT_OPTIX_PATH =../optix/${{ matrix.optix }} -DPBRT_GPU_SHADER_MODEL=sm_80
8181
8282 - name : Configure (Linux)
8383 if : ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-24.04' }}
8484 run : |
8585 cd build
86- cmake .. -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True -DPBRT_OPTIX7_PATH =../optix/${{ matrix.optix }} -DPBRT_GPU_SHADER_MODEL=sm_80
86+ cmake .. -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True -DPBRT_OPTIX_PATH =../optix/${{ matrix.optix }} -DPBRT_GPU_SHADER_MODEL=sm_80
8787
8888 - name : Build
8989 # We need to limit the number of jobs so that it doesn't OOM
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ later. Both Linux and Windows are supported.
206206
207207The build scripts automatically attempt to find a CUDA compiler, looking in
208208the usual places; the cmake output will indicate whether it was successful.
209- It is necessary to manually set the cmake ` PBRT_OPTIX7_PATH ` configuration
209+ It is necessary to manually set the cmake ` PBRT_OPTIX_PATH ` configuration
210210option to point at an OptiX installation. By default, the GPU shader model
211211that pbrt targets is set automatically based on the GPU in the system.
212212Alternatively, the ` PBRT_GPU_SHADER_MODEL ` option can be set manually
You can’t perform that action at this time.
0 commit comments