Skip to content

Commit 24cbd61

Browse files
Merge branch 'dev' of https://github.com/topology-tool-kit/ttk into cinemaImagingBackend
2 parents f450909 + 6c31b3a commit 24cbd61

File tree

6 files changed

+19
-6
lines changed

6 files changed

+19
-6
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
run: |
168168
# ParaView dependencies
169169
brew cask install xquartz
170-
brew install wget python libomp mesa glew qt
170+
brew install wget python@3.8 libomp mesa glew qt
171171
# TTK dependencies
172172
brew install boost eigen graphviz
173173
python3 -m pip install scikit-learn
@@ -237,7 +237,7 @@ jobs:
237237
run: |
238238
# ParaView dependencies
239239
brew cask install xquartz
240-
brew install wget python libomp mesa glew qt
240+
brew install wget python@3.8 libomp mesa glew qt
241241
# TTK dependencies
242242
brew install boost graphviz
243243
python3 -m pip install scikit-learn
@@ -307,6 +307,12 @@ jobs:
307307
run: |
308308
ttk-paraview.exe /S
309309
310+
- name: Fetch Visual C++ redistribuable run-time
311+
run: |
312+
Invoke-WebRequest `
313+
-OutFile vc_redist.x64.exe `
314+
-Uri https://aka.ms/vs/16/release/vc_redist.x64.exe
315+
310316
- name: Configure TTK
311317
shell: cmd
312318
run: |

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON)
5656
if(APPLE)
5757
set(CPACK_COMPONENTS_ALL Unspecified python development)
5858
endif()
59+
# embed Visual C++ redistribuable for Windows
60+
if(WIN32 AND EXISTS "${CMAKE_SOURCE_DIR}/vc_redist.x64.exe")
61+
install(PROGRAMS "${CMAKE_SOURCE_DIR}/vc_redist.x64.exe" DESTINATION bin)
62+
list(APPEND CPACK_NSIS_EXTRA_INSTALL_COMMANDS
63+
" ExecWait '$INSTDIR\\\\bin\\\\vc_redist.x64.exe /passive /norestart'
64+
Delete '$INSTDIR\\\\bin\\\\vc_redist.x64.exe' ")
65+
endif()
5966
include(CPack)
6067

6168
if(TTK_BUILD_STANDALONE_APPS AND NOT TTK_BUILD_VTK_WRAPPERS)

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ jobs:
364364
steps:
365365
- script: |
366366
brew cask install xquartz
367-
brew install wget python libomp mesa glew boost ccache qt
367+
brew install wget python@3.8 libomp mesa glew boost ccache qt
368368
displayName: 'Install dependencies'
369369
370370
- script: |

paraview/BottleneckDistance/BottleneckDistance.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ the extremum</Documentation>
231231
<OutputPort name="Persistence Mesh" index="2" id="port2"/>
232232

233233
<Hints>
234-
<ShowInMenu category="TTK - Scalar Data" />
234+
<ShowInMenu category="TTK - Ensemble Scalar Data" />
235235
</Hints>
236236
</SourceProxy>
237237
</ProxyGroup>

paraview/LDistance/LDistance.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ for the L-infinity distance).
110110
</PropertyGroup>
111111

112112
<Hints>
113-
<ShowInMenu category="TTK - Scalar Data" />
113+
<ShowInMenu category="TTK - Ensemble Scalar Data" />
114114
</Hints>
115115
</SourceProxy>
116116
</ProxyGroup>

paraview/patch/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: Install macOS dependencies
8080
run: |
8181
brew cask install xquartz
82-
brew install wget python libomp mesa glew boost qt ninja
82+
brew install wget python@3.8 libomp mesa glew boost qt ninja
8383
8484
- name: Build patched ParaView & create package
8585
run: |

0 commit comments

Comments
 (0)