Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Spiros Tsalikis
VTK
Commits
1ca8eca5
Commit
1ca8eca5
authored
1 month ago
by
Alexy Pellegrini
Browse files
Options
Downloads
Patches
Plain Diff
Enable OpenXR on Windows CI wheel build
parent
77f2bdd5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab/ci/configure_wheel.cmake
+5
-1
5 additions, 1 deletion
.gitlab/ci/configure_wheel.cmake
.gitlab/os-windows.yml
+13
-5
13 additions, 5 deletions
.gitlab/os-windows.yml
Documentation/release/dev/openxr-python-windows.md
+3
-0
3 additions, 0 deletions
Documentation/release/dev/openxr-python-windows.md
with
21 additions
and
6 deletions
.gitlab/ci/configure_wheel.cmake
+
5
−
1
View file @
1ca8eca5
...
@@ -58,7 +58,11 @@ set(VTK_MODULE_ENABLE_VTK_InfovisBoost NO CACHE STRING "") # Boost
...
@@ -58,7 +58,11 @@ set(VTK_MODULE_ENABLE_VTK_InfovisBoost NO CACHE STRING "") # Boost
set
(
VTK_MODULE_ENABLE_VTK_InfovisBoostGraphAlgorithms NO CACHE STRING
""
)
# Boost
set
(
VTK_MODULE_ENABLE_VTK_InfovisBoostGraphAlgorithms NO CACHE STRING
""
)
# Boost
set
(
VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig NO CACHE STRING
""
)
# fontconfig
set
(
VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig NO CACHE STRING
""
)
# fontconfig
set
(
VTK_MODULE_ENABLE_VTK_RenderingOpenVR NO CACHE STRING
""
)
# OpenVR
set
(
VTK_MODULE_ENABLE_VTK_RenderingOpenVR NO CACHE STRING
""
)
# OpenVR
set
(
VTK_MODULE_ENABLE_VTK_RenderingOpenXR NO CACHE STRING
""
)
# OpenXR
if
(
NOT WIN32
)
set
(
VTK_MODULE_ENABLE_VTK_RenderingOpenXR NO CACHE STRING
""
)
# OpenXR disable on every system except Windows
endif
()
set
(
VTK_MODULE_ENABLE_VTK_RenderingRayTracing NO CACHE STRING
""
)
# OSPRay
set
(
VTK_MODULE_ENABLE_VTK_RenderingRayTracing NO CACHE STRING
""
)
# OSPRay
set
(
VTK_MODULE_ENABLE_VTK_RenderingZSpace NO CACHE STRING
""
)
# zSpace
set
(
VTK_MODULE_ENABLE_VTK_RenderingZSpace NO CACHE STRING
""
)
# zSpace
set
(
VTK_MODULE_ENABLE_VTK_fides NO CACHE STRING
""
)
# ADIOS2
set
(
VTK_MODULE_ENABLE_VTK_fides NO CACHE STRING
""
)
# ADIOS2
...
...
This diff is collapsed.
Click to expand it.
.gitlab/os-windows.yml
+
13
−
5
View file @
1ca8eca5
...
@@ -251,17 +251,19 @@
...
@@ -251,17 +251,19 @@
-
git submodule sync --recursive
-
git submodule sync --recursive
-
git submodule update --init --recursive
-
git submodule update --init --recursive
.before_script_windows_openxr_deps
:
&before_script_windows_openxr_deps
-
cmake -P .gitlab/ci/download_openxr.cmake
-
Set-Item -Force -Path "env:CMAKE_PREFIX_PATH" -Value "$pwdpath\.gitlab\openxr;$env:CMAKE_PREFIX_PATH"
-
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\openxr\x64\bin;$env:PATH"
-
cmake -P .gitlab/ci/download_openxrremoting.cmake
-
Set-Item -Force -Path "env:CMAKE_PREFIX_PATH" -Value "$pwdpath\.gitlab\openxrremoting\build\native;$env:CMAKE_PREFIX_PATH"
.before_script_windows_deps
:
&before_script_windows_deps
.before_script_windows_deps
:
&before_script_windows_deps
-
cmake -P .gitlab/ci/download_qt.cmake
-
cmake -P .gitlab/ci/download_qt.cmake
-
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\qt\bin;$env:PATH"
-
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\qt\bin;$env:PATH"
-
cmake -P .gitlab/ci/download_python.cmake
-
cmake -P .gitlab/ci/download_python.cmake
-
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\python;$env:PATH"
-
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\python;$env:PATH"
-
Set-Item -Force -Path "env:PYTHONHOME" -Value "$pwdpath\.gitlab\python"
-
Set-Item -Force -Path "env:PYTHONHOME" -Value "$pwdpath\.gitlab\python"
-
cmake -P .gitlab/ci/download_openxr.cmake
-
Set-Item -Force -Path "env:CMAKE_PREFIX_PATH" -Value "$pwdpath\.gitlab\openxr;$env:CMAKE_PREFIX_PATH"
-
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\openxr\x64\bin;$env:PATH"
-
cmake -P .gitlab/ci/download_openxrremoting.cmake
-
Set-Item -Force -Path "env:CMAKE_PREFIX_PATH" -Value "$pwdpath\.gitlab\openxrremoting\build\native;$env:CMAKE_PREFIX_PATH"
-
cmake -P .gitlab/ci/download_tbb.cmake
-
cmake -P .gitlab/ci/download_tbb.cmake
-
Set-Item -Force -Path "env:CMAKE_PREFIX_PATH" -Value "$pwdpath\.gitlab\tbb;$env:CMAKE_PREFIX_PATH"
-
Set-Item -Force -Path "env:CMAKE_PREFIX_PATH" -Value "$pwdpath\.gitlab\tbb;$env:CMAKE_PREFIX_PATH"
-
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\tbb\redist\$env:TBB_REDIST_DIR;$env:PATH"
-
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\tbb\redist\$env:TBB_REDIST_DIR;$env:PATH"
...
@@ -299,6 +301,7 @@
...
@@ -299,6 +301,7 @@
script
:
script
:
-
*before_script_windows
-
*before_script_windows
-
*before_script_windows_deps
-
*before_script_windows_deps
-
*before_script_windows_openxr_deps
-
*script_windows
-
*script_windows
interruptible
:
true
interruptible
:
true
...
@@ -308,6 +311,7 @@
...
@@ -308,6 +311,7 @@
script
:
script
:
-
*before_script_windows
-
*before_script_windows
-
*before_script_windows_deps
-
*before_script_windows_deps
-
*before_script_windows_openxr_deps
# Reuse the venv from the build step (avoids version changes between
# Reuse the venv from the build step (avoids version changes between
# build and testing). This is set up manually because Activate.ps1
# build and testing). This is set up manually because Activate.ps1
# doesn't seem to work for our extracted Python tarball.
# doesn't seem to work for our extracted Python tarball.
...
@@ -325,6 +329,7 @@
...
@@ -325,6 +329,7 @@
script
:
script
:
-
*before_script_windows
-
*before_script_windows
-
*before_script_windows_deps
-
*before_script_windows_deps
-
*before_script_windows_openxr_deps
# Reuse the venv from the build step (avoids version changes between
# Reuse the venv from the build step (avoids version changes between
# build and testing). This is set up manually because Activate.ps1
# build and testing). This is set up manually because Activate.ps1
# doesn't seem to work for our extracted Python tarball.
# doesn't seem to work for our extracted Python tarball.
...
@@ -343,6 +348,7 @@
...
@@ -343,6 +348,7 @@
script
:
script
:
-
*before_script_windows
-
*before_script_windows
-
*before_script_windows_openxr_deps
-
cmake -P .gitlab/ci/download_wheel_python.cmake
-
cmake -P .gitlab/ci/download_wheel_python.cmake
-
Set-Item -Force -Path "env:PYTHON_PREFIX" -Value "$pwdpath\.gitlab\python"
-
Set-Item -Force -Path "env:PYTHON_PREFIX" -Value "$pwdpath\.gitlab\python"
-
Invoke-Expression -Command .gitlab/ci/buildcache.ps1
-
Invoke-Expression -Command .gitlab/ci/buildcache.ps1
...
@@ -376,6 +382,7 @@
...
@@ -376,6 +382,7 @@
script
:
script
:
-
*before_script_windows
-
*before_script_windows
-
*before_script_windows_openxr_deps
-
cmake -P .gitlab/ci/download_osmesa_windows.cmake
-
cmake -P .gitlab/ci/download_osmesa_windows.cmake
-
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\osmesa\bin;$env:PATH"
-
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\osmesa\bin;$env:PATH"
-
cmake -P .gitlab/ci/download_wheel_python.cmake
-
cmake -P .gitlab/ci/download_wheel_python.cmake
...
@@ -453,5 +460,6 @@
...
@@ -453,5 +460,6 @@
script
:
script
:
-
*before_script_windows
-
*before_script_windows
-
*before_script_windows_deps
-
*before_script_windows_deps
-
*before_script_windows_openxr_deps
-
*before_script_java_windows
-
*before_script_java_windows
-
*script_windows
-
*script_windows
This diff is collapsed.
Click to expand it.
Documentation/release/dev/openxr-python-windows.md
0 → 100644
+
3
−
0
View file @
1ca8eca5
## OpenXR and OpenXRRemoting modules are now wrapped in Python and shipped in Windows VTK wheels!
OpenXR loader is shipped with the wheel, but OpenXR runtimes have to be installed by end user for their specific devices!
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment