Skip to content

Commit

Permalink
gz-rendering9+: build without -DSKIP_optix (#1161)
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters authored Aug 14, 2024
1 parent 409e5c3 commit 19594d6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jenkins-scripts/docker/gz_rendering-compilation.bash
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ fi
export GPU_SUPPORT_NEEDED=true
export GZDEV_PROJECT_NAME="gz-rendering${GZ_RENDERING_MAJOR_VERSION}"

export BUILDING_EXTRA_CMAKE_PARAMS+=" -DSKIP_optix=true"
# set SKIP_optix=true for Harmonic and earlier
# not needed for ionic since https://github.com/gazebosim/gz-rendering/pull/1032
if [[ ${GZ_RENDERING_MAJOR_VERSION} -le 8 ]]; then
export BUILDING_EXTRA_CMAKE_PARAMS+=" -DSKIP_optix=true"
fi

. ${SCRIPT_DIR}/lib/generic-building-base.bash

0 comments on commit 19594d6

Please sign in to comment.