Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pulse Physiology Suite
engine
Commits
a1cc935e
Commit
a1cc935e
authored
Nov 20, 2020
by
Aaron Bray
Browse files
CMake Updates
- Add more url's for baseline retries - Correct Dirent config - Correct a few script paths
parent
50b630c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
bin/run.cmake.in
View file @
a1cc935e
...
...
@@ -98,9 +98,9 @@ elseif(TYPE STREQUAL "protoc")
-DPulse_PYTHON_API:BOOL=@Pulse_PYTHON_API@
-P "@CMAKE_SOURCE_DIR@/src/schema/GenerateBindings.cmake")
elseif(TYPE STREQUAL "updateBaselines")
execute_process(COMMAND ${CMAKE_COMMAND} --build "@CMAKE_CURRENT_BINARY_DIR@" --target UpdateVerification)
execute_process(COMMAND ${CMAKE_COMMAND} --build "@CMAKE_CURRENT_BINARY_DIR@
/data
" --target UpdateVerification)
elseif(TYPE STREQUAL "jar")
execute_process(COMMAND ${CMAKE_COMMAND} --build "@CMAKE_CURRENT_BINARY_DIR@" --target PulseJava)
execute_process(COMMAND ${CMAKE_COMMAND} --build "@CMAKE_CURRENT_BINARY_DIR@
/src/java
" --target PulseJava)
elseif(TYPE STREQUAL "rebase")
# find Git and if available set GIT_HASH variable
find_package(Git QUIET)
...
...
cmake/external/External_Dirent.cmake
View file @
a1cc935e
...
...
@@ -7,7 +7,7 @@ add_external_project_ex( Dirent
URL
"https://github.com/tronkko/dirent/archive/1.23.2.zip"
URL_HASH MD5=43514791ab73ef5ac7c490afc7c3bab2
CMAKE_CACHE_ARGS
-DDIRENT_BUILD_TESTS
:BOOL=OFF
-DDIRENT_BUILD_TESTS:BOOL=OFF
RELATIVE_INCLUDE_PATH
""
DEPENDENCIES
""
#VERBOSE
...
...
data/CMakeLists.txt
View file @
a1cc935e
# External Data
include
(
ExternalData
)
set
(
ExternalData_URL_TEMPLATES
"https://data.kitware.com/api/v1/file/hashsum/%(algo)/%(hash)/download"
)
# Putting in the same URL to ensure bad connections retry a few times
set
(
ExternalData_URL_TEMPLATES
"https://data.kitware.com/api/v1/file/hashsum/%(algo)/%(hash)/download"
"https://data.kitware.com/api/v1/file/hashsum/%(algo)/%(hash)/download"
"https://data.kitware.com/api/v1/file/hashsum/%(algo)/%(hash)/download"
)
message
(
STATUS
"Looking for zip shas"
)
file
(
GLOB_RECURSE _VERIFICATION_SHA RELATIVE
${
CMAKE_CURRENT_SOURCE_DIR
}
"*.sha512"
)
...
...
@@ -22,7 +25,7 @@ endforeach()
ExternalData_Add_Target
(
ExternalData
)
set
(
ExternalData_LINK_CONTENT SHA512
)
set
(
ExternalData_TIMEOUT_ABSOLUTE 300
)
set
(
ExternalData_TIMEOUT_INACTIVITY
6
0
)
set
(
ExternalData_TIMEOUT_INACTIVITY
15
0
)
set
(
INC_DOWNLOAD
)
if
(
PULSE_DOWNLOAD_BASELINES
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment