Skip to content

Commit

Permalink
App: Update XR Volume Rendering build for dashboard testing
Browse files Browse the repository at this point in the history
Minor changes to support internal dashboard testing:
- Install `xvfb` inside the app container
- Disable Eigen dependency tests

Signed-off-by: Tom Birdsong <tbirdsong@nvidia.com>
  • Loading branch information
tbirdso committed Nov 1, 2024
1 parent 1a5afa5 commit 5a0e1b6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions applications/volume_rendering_xr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,14 @@ find_package(holoscan 2.0 REQUIRED CONFIG
find_package(Vulkan REQUIRED)
find_package(CUDAToolkit REQUIRED)

set(HOLOHUB_BUILD_TESTING ${BUILD_TESTING})
set(BUILD_TESTING OFF)
FetchContent_Declare(
Eigen3
URL https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz
)
FetchContent_MakeAvailable(Eigen3)
set(BUILD_TESTING ${HOLOHUB_BUILD_TESTING})


add_executable(volume_rendering_xr
Expand Down
16 changes: 16 additions & 0 deletions applications/volume_rendering_xr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,22 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG BASE_IMAGE
FROM ${BASE_IMAGE} as base


############################################################
# HoloHub run + dev dependencies setup
############################################################

RUN mkdir -p /tmp/scripts
COPY run /tmp/scripts/
RUN mkdir -p /tmp/scripts/utilities
COPY utilities/holohub_autocomplete /tmp/scripts/utilities/
RUN chmod +x /tmp/scripts/run
RUN /tmp/scripts/run setup

############################################################
# Magic Leap base setup
############################################################

COPY /applications/volume_rendering_xr/scripts/base-setup.sh \
/tmp/base-setup.sh
COPY applications/volume_rendering_xr/thirdparty/magicleap/MagicLeapRemoteRendering.gpg \
Expand Down

0 comments on commit 5a0e1b6

Please sign in to comment.