Skip to content

Commit d4ddc7e

Browse files
committed
Update dependencies
- ISPC v1.25.2 (new minimum required version) - oneTBB v2022.0.0 - Dear ImGui v1.91.4
1 parent 675c216 commit d4ddc7e

File tree

7 files changed

+32
-34
lines changed

7 files changed

+32
-34
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Version History
1717
improving compatibility with glTF `KHR_materials_specular`
1818
- Improvements to and documentation of the pathtracer's Shadow Catcher
1919
feature (enabled via parameter `shadowCatcherPlane`)
20+
- The new minimum versions of dependencies:
21+
- ISPCRT v1.25.2 (uses IEEE 754 compliant instructions on ARM for
22+
min/max)
2023

2124
### Changes in v3.2.0:
2225

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ before you can build OSPRay you need the following prerequisites:
8181
Linux development tools.
8282

8383
- Additionally you require a copy of the [Intel® Implicit SPMD Program
84-
Compiler (ISPC)](http://ispc.github.io), version 1.23.0 or later.
84+
Compiler (ISPC)](http://ispc.github.io), version 1.25.2 or later.
8585
Please obtain a release of ISPC from the [ISPC downloads
8686
page](https://ispc.github.io/downloads.html). If ISPC is not found by
8787
CMake its location can be hinted with the variable `ISPC_EXECUTABLE`.

apps/common/external/imgui/imgui.patch

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
--- a/imconfig.h
22
+++ b/imconfig.h
3-
@@ -21,20 +21,29 @@
4-
5-
//---- Define attributes of all API symbols declarations, e.g. for DLL under Windows
3+
@@ -23,19 +23,25 @@
64
// Using Dear ImGui via a shared library is not recommended, because of function call overhead and because we don't guarantee backward nor forward ABI compatibility.
5+
// - Windows DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions()
6+
// for each static/DLL boundary you are calling from. Read "Context and Memory Allocators" section of imgui.cpp for more details.
7+
-//#define IMGUI_API __declspec(dllexport) // MSVC Windows: DLL export
8+
-//#define IMGUI_API __declspec(dllimport) // MSVC Windows: DLL import
9+
-//#define IMGUI_API __attribute__((visibility("default"))) // GCC/Clang: override visibility when set is hidden
710
+#ifdef _WIN32
811
+# ifdef ospray_imgui_EXPORTS
912
+# define IMGUI_API __declspec(dllexport)
1013
+# else
1114
+# define IMGUI_API __declspec(dllimport)
1215
+# endif
1316
+#else
14-
+# define IMGUI_API
17+
+# define IMGUI_API __attribute__((visibility("default")))
1518
+#endif
16-
// DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions()
17-
// for each static/DLL boundary you are calling from. Read "Context and Memory Allocators" section of imgui.cpp for more details.
18-
//#define IMGUI_API __declspec( dllexport )
19-
//#define IMGUI_API __declspec( dllimport )
2019

2120
//---- Don't define obsolete functions/enums/behaviors. Consider enabling from time to time after updating to clean your code of obsolete function/names.
2221
-//#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
@@ -33,8 +32,12 @@
3332

3433
//---- Don't implement some functions to reduce linkage requirements.
3534
//#define IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS // [Win32] Don't implement default clipboard handler. Won't use and link with OpenClipboard/GetClipboardData/CloseClipboard etc. (user32.lib/.a, kernel32.lib/.a)
36-
@@ -44,7 +53,7 @@
35+
@@ -43,10 +49,10 @@
36+
//#define IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS // [Win32] [Default with non-Visual Studio compilers] Don't implement default IME handler (won't require imm32.lib/.a)
37+
//#define IMGUI_DISABLE_WIN32_FUNCTIONS // [Win32] Won't use and link with any Win32 function (clipboard, IME).
3738
//#define IMGUI_ENABLE_OSX_DEFAULT_CLIPBOARD_FUNCTIONS // [OSX] Implement default OSX clipboard handler (need to link with '-framework ApplicationServices', this is why this is not the default).
39+
-//#define IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS // Don't implement default platform_io.Platform_OpenInShellFn() handler (Win32: ShellExecute(), require shell32.lib/.a, Mac/Linux: use system("")).
40+
+#define IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS // Don't implement default platform_io.Platform_OpenInShellFn() handler (Win32: ShellExecute(), require shell32.lib/.a, Mac/Linux: use system("")).
3841
//#define IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS // Don't implement ImFormatString/ImFormatStringV so you can implement them yourself (e.g. if you don't want to link with vsnprintf)
3942
//#define IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS // Don't implement ImFabs/ImSqrt/ImPow/ImFmod/ImCos/ImSin/ImAcos/ImAtan2 so you can implement them yourself.
4043
-//#define IMGUI_DISABLE_FILE_FUNCTIONS // Don't implement ImFileOpen/ImFileClose/ImFileRead/ImFileWrite and ImFileHandle at all (replace them with dummies)

cmake/ospray_options.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ include(CMakeDependentOption)
1111
set(OSPRAY_CMAKECONFIG_DIR
1212
"${CMAKE_INSTALL_LIBDIR}/cmake/ospray-${OSPRAY_VERSION}")
1313

14-
set(ISPC_VERSION_REQUIRED 1.23.0)
14+
set(ISPC_VERSION_REQUIRED 1.25.2)
1515
set(RKCOMMON_VERSION_REQUIRED 1.14.2)
1616
set(EMBREE_VERSION_REQUIRED 4.3.3)
1717
set(OPENVKL_VERSION_REQUIRED 2.0.1)
1818
set(OIDN_VERSION_REQUIRED 2.3.0)
19-
set(OSPRAY_IMGUI_GIT_TAG cb16be3a3fc1f9cd146ae24d52b615f8a05fa93d) # v1.90.9
19+
set(OSPRAY_IMGUI_GIT_TAG 99109c0b3b052cffa154a9295440f68868a39f74) # v1.91.4
2020
set(OSPRAY_STB_GIT_TAG 013ac3beddff3dbffafd5177e7972067cd2b5083) # v2.30 / v1.16
2121

2222
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})

doc/prerequisites.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ before you can build OSPRay you need the following prerequisites:
2121
(icc)](https://software.intel.com/en-us/c-compilers)), and standard
2222
Linux development tools.
2323
- Additionally you require a copy of the [Intel® Implicit SPMD Program
24-
Compiler (ISPC)](http://ispc.github.io), version 1.23.0 or later.
24+
Compiler (ISPC)](http://ispc.github.io), version 1.25.2 or later.
2525
Please obtain a release of ISPC from the [ISPC downloads
2626
page](https://ispc.github.io/downloads.html).
2727
If ISPC is not found by CMake its location can be hinted with the

scripts/superbuild/CMakeLists.txt

+13-13
Original file line numberDiff line numberDiff line change
@@ -87,22 +87,22 @@ endif()
8787

8888
option(DOWNLOAD_ISPC "Download ISPC or use the one found in the system environment?" ON)
8989
if (DOWNLOAD_ISPC)
90-
set(ISPC_VERSION "1.24.0" CACHE STRING "Which version of ISPC to download?")
90+
set(ISPC_VERSION "1.25.2" CACHE STRING "Which version of ISPC to download?")
9191
mark_as_advanced(CLEAR ISPC_VERSION)
92-
if (ISPC_VERSION STREQUAL "1.24.0")
92+
if (ISPC_VERSION STREQUAL "1.25.2")
9393
if (APPLE)
9494
if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm64|aarch64")
95-
set(ISPC_HASH "7f3891d0157aed3cab159fbc5235235b62797053db9387f5a61c8d0a22369ae0")
95+
set(ISPC_HASH "1803f7f58c6c68f2dece679850b3e22ec0571dde3d428096dd292c302a6f3241")
9696
else()
97-
set(ISPC_HASH "986eb172fe9db3e8da560e9d0d788832991638fab61ca80587d87eb175ffb520")
97+
set(ISPC_HASH "aa4d65a76c86d5fe34b3f7fab1f54b0c69e6e37cb6918e12e6bafa437ac05896")
9898
endif()
9999
elseif (WIN32)
100-
set(ISPC_HASH "a7c21cb2434f5364acbdf0933af6de49198458ed6f0b62012e03c3325c972649")
100+
set(ISPC_HASH "0a989eb0cbaccff3162b118c20ac74eda0381731dc8a59a8a967533e81b24928")
101101
else()
102102
if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm64|aarch64")
103-
set(ISPC_HASH "890ad5f31581091bf4ae9f235a7bb6fd9cabcbd6cf1670104ad61f1ad2da4c76")
103+
set(ISPC_HASH "0ffd2356cfe12ca66c3906fbb2b334fb1fbbc462b405c09c52fd821739543d06")
104104
else()
105-
set(ISPC_HASH "79885d4482356dba7c01da312b6449fd575b097845ebcb90344dac5c178b43f5")
105+
set(ISPC_HASH "760b5c200aaf313884c2be4491ef7834ae546cdbda37978ce768abaa4e26a420")
106106
endif()
107107
endif()
108108
endif()
@@ -117,20 +117,20 @@ endif()
117117

118118
option(DOWNLOAD_TBB "Download TBB or use the one found in the system environment?" ON)
119119
if (DOWNLOAD_TBB)
120-
set(TBB_VERSION "2021.13.0" CACHE STRING "Which version of TBB to download?")
120+
set(TBB_VERSION "2022.0.0" CACHE STRING "Which version of TBB to download?")
121121
mark_as_advanced(CLEAR TBB_VERSION)
122122
option(BUILD_TBB_FROM_SOURCE "Build TBB from source or use pre-built version?" OFF)
123123
mark_as_advanced(CLEAR BUILD_TBB_FROM_SOURCE)
124-
if (TBB_VERSION STREQUAL "2021.13.0")
124+
if (TBB_VERSION STREQUAL "2022.0.0")
125125
if (BUILD_TBB_FROM_SOURCE)
126-
set(TBB_HASH "3ad5dd08954b39d113dc5b3f8a8dc6dc1fd5250032b7c491eb07aed5c94133e1")
126+
set(TBB_HASH "e8e89c9c345415b17b30a2db3095ba9d47647611662073f7fbf54ad48b7f3c2a")
127127
else()
128128
if (APPLE)
129-
set(TBB_HASH "e9aa143de91f65ea15b62ceeba5845bbc914c882d32bf9c9a405e6b8b5a70ade")
129+
set(TBB_HASH "9d0280d9c4ef71f0fe0985c298c20c105757e1bccedcf6676cba5d92877cfe0c")
130130
elseif (WIN32)
131-
set(TBB_HASH "0a7b19b52ec9d8eaa10cbbe396e955130815489c544642acecda8ef8d2d7f64d")
131+
set(TBB_HASH "660f3555de26bee8cd4daef1105d5d9e93e695b2fcfa9c57db3aa38c6afe5675")
132132
else()
133-
set(TBB_HASH "f5c9304710051f0193a07fb91b6d6ada5a3e0a6d623951ee176b1897816ecf4c")
133+
set(TBB_HASH "1b669eb357dd90f3135f27e3c9a78683c6ecc74edf2799f7cb7df92a5423cb76")
134134
endif()
135135
endif()
136136
endif()

scripts/tests/run_tests.sh

-8
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,6 @@ export CMAKE_BUILD_PARALLEL_LEVEL=32
5555
cmake --build . --target ospray_test_data
5656
let exitCode+=$?
5757

58-
### Excluded tests
59-
##################
60-
# due to IEEE 754 uncompliant NaN handling on ARM NEON,
61-
# see https://github.com/ispc/ispc/issues/3048
62-
if [[ `uname -m` =~ arm|aarch ]] ; then
63-
test_filters="TestShadowCatcher/ShadowCatcher.multipleLights/0"
64-
fi
65-
6658
export OIDN_VERBOSE=2
6759

6860
if [ $TEST_CPU ]; then

0 commit comments

Comments
 (0)