* Merging the previous ARM Neon branch
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Testing each SIMD variants using a small code snippet and first pass on unifying the way related cmake variables
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Removing the usage of USE_SSE in favor of the new OCIO_USE_SSE2 as they serve the same purpose
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Using try_compile instead of check_cxx_source_compiles as it was given false positive. Stubbing cpuinfo for Apple ARM plateform. Handling Apple M1 correctly and adding support for SSE2NEON.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Comments clean up and refactor some comments and documentations
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Added something in the documentation for Rosetta and small change in cmake
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Fixing the build under Rosetta and fixing issue in the MacOS CI.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Using try_compile for CheckSupportSSEUsingSSE2NEON to standardize the code and fixed CheckSupport compiler flags.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* use emmintrin.h for only sse2 features
Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Allow F16C to be completely turned off
Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Seperate SIMD test code from code that adds unit tests.
This isolates the compulation units and
avoids executing illegal hardware instructions
Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* remove uneeded checks
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* use software implementations of f16c intrinsics for SSE2
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Added preprocessor checks for ARM as it is needed for universal build on APPLE platform
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Adding missing checks for "not arm64"
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Ease the future maintainability a the new OCIO_USE_xyz be moving the logic into CPUInfoConfig.h.in as well as fixing issue on ARM when building with OCIO_USE_SSE2NEON=OFF.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Fixing some spacing, documentations and making some cmake conditions clearer.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Adding a build in ci_workflow for macos USE_OCIO_SSE2NEON=OFF
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* typo
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Changing back all the macOS (except one) builds to x86_64 only as it takes double the time to do the universal build.
OCIO no longuer build a universal binary by default
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Update the CMakeLists.txt logic to accomodate all scenario and fixing documentations.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Update documentation and remove ocio_use_sse2neon from the CI matrix
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
---------
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
Signed-off-by: Mark Reid <mindmark@gmail.com>
Signed-off-by: Cédrik Fuoco <105517825+cedrik-fuoco-adsk@users.noreply.github.com>
Co-authored-by: Mark Reid <mindmark@gmail.com>
Co-authored-by: Doug Walker <doug.walker@autodesk.com>
* Implementation of ocio_find_package and ocio_install_package macro.
Implemention of minimum, maximum and recommended version.
Refactor the FindOpenImageIO to be inline with the rest of the custom find module (OCIO_USE_OIIO_CMAKE_CONFIG is no longer needed).
Added a new option called OCIO_VERBOSE. It allow the user to tell OCIO to display more information when searching and building the dependencies.
Splitted the find and install part into two files - Find<pkg>.cmake and Install<pkg>.cmake.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Removing a duplicate call to set_property in OpenImageIO find module.
Setting policy CMP0042 when building ZLIB since that project is using an old CMake version as the cmake_minimum_required and that version has no knowledge of the policy.
Fixing a potential issue in Installopenfx. Changing back the version to 1.4 as before.
Ignoring warning from OpenImageIO for imageioapphelpers. The same warning are ignored for ociodisplay, ocioconvert and ociolutimage.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Fixed an issue with FindOpenImageIO that was found while testing on macOS.
Renamed FindOpenShadingLanguage to FindOSL to match the project name used the OSL's CMakefile.
Cleanup the code for FindOSL and removed duplicate warning about needed C++14.
Updated the header comments for all Find and Install modules.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Fixing typo
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Renamed ocio_find_package to ocio_handle_dependency
Renamed ocio_install_package to ocio_install_dependency
The "Installing [...]" message from Install module is now under OCIO_VERBOSE variable. Added a message in ocio_install_dependency instead
Improve the colors usage in the logging
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Changed prefix for ocio_install_dependency since it was conflicting with the prefix of ocio_handle_dependency since they were the same.
Removed FindOpenEXR.cmake and FindOpenImageIO.cmake since they are not needed anymore (for differente reason).
Added PROMOTE_TARGET option for ocio_handle_dependency which promote the target to GLOBAL.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Mostly comments and documentations
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Small update of the Existing Install Hints section
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Changed RECOMMENDED_MIN_VERSION to RECOMMENDED_VERSION
Re-worded some of the comments
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Fixing issue with ocio_handle_dependency macro where it wasn't respecting OCIO_INSTALL_EXT_PACKAGES option correctly.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Adding more documentations and dropping support to look for static zlib since the user can update their cmake in order to do that.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Documentations
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Documentations
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* fixing typo
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Fix typo and fix issue when OCIO is installing ZLIB
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Tentative fix for Linux CI failure
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Ignoring specifics warnings on OpenImageIO target directly.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Removing OCIO_USE_OIIO_CMAKE_CONFIG as it is not needed anymore.
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
---------
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
* Scripts to facilitate OCIO builds on Windows
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Fixed an issue with spaces in python path
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Using delayed variable expansion instead of normal expansion for variables that can changes based on arguments
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
* Updating the quick start > installations documentation to mention the windows scripts and re-writing obsolete section.
Signed-off-by: Cedrik Fuoco <cedrik.fuoco@autodesk.com>
Co-authored-by: Doug Walker <doug.walker@autodesk.com>
* Add OpenFX OCIO plugin framework and example
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Fix typo
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Update OpenFX Support Library to support C++11-17
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add missing override qualifier
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add OCIODisplay and update OCIOColorSpace UX
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Fix warnings, add overridde specifiers
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Fix C/C++ conflict
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Rename default to default_value
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Disable unused-parameter warning
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add context variable override parameters
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Update param tooltips
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add color space swap button, revert context impl
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add context variable persistence
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Make context store param secret
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Fix sign compare warning
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Implement PR feedback
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add missing color space, display, and view support
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add notes and missing break
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add OpenFX license to THIRD-PARTY.md
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Fix OCIOProcessor initialization
Signed-off-by: Michael Dolan <michdolan@gmail.com>
Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
* Add Imath 3 Half support
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Update CI jobs
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Test analysis workflow
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Update analysis_workflow.yml
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Make install_imath.sh executable
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Get latest from release branch
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Latest OIIO requires C++14
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Revert CI test changes
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Bump to Imath 3.0.5, use IlmBase for GPU CI
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Document Imath and IlmBase half options
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Use half-float conversion algorithm
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Refactor half include
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Bump Imath version to 3.1.2
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Force integer for Half.h macro
Signed-off-by: Michael Dolan <michdolan@gmail.com>
Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
* 'Existing Install Hints' fix
Errors in some CMake variable names resulting in:
- being ignored: 'DExpat_...' instead of 'Dexpat_...'
- error: 'pybind11_ROOT' instead of 'Dpybind11_ROOT'
Signed-off-by: Derek Severin <severinderek@gmail.com>
* 'PYTHON_PATH' instead of 'PYTHONPATH'
Use of wrong variable 'PYTHONPATH' instead of 'PYTHON_PATH'.
'PYTHONPATH' might not be defined and can contain more than a single path, resulting in invalid values for the 3 variables 'DPython_LIBRARY', 'DPython_INCLUDE_DIR', 'DPython_EXECUTABLE' provided to cmake.
Signed-off-by: Derek Severin <severinderek@gmail.com>
* Refactor PyCPUProcessor buffer handling
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Install/require NumPy for Python tests
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Document NumPy dependency, fix installation link
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Fix CMake include, Update frozen docs
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Make NumPy optional, improve docs
Signed-off-by: Michael Dolan <michdolan@gmail.com>
Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
* Rework API docs and dependencies
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Refine doc generation
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add frozendoc module for freezing autodoc RST
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Split Python docs between src and frozen
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add expandvars extension for namespace handling
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add frozen RST comparison tools
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Improve frozen docs error msg
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Update frozen docs and implement CI test
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Update frozen RST
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add file diff debug output to diagnose CI failures
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Refine diff debug code
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Add handling for error tolerances when comparing RST
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Include diff in logs, support windoes paths
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Move diff to log, conform path slashes
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Fix warnings, debug windows Python path
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Debug Windows configure file
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Move conf.py configure_file to own statement
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Move path setup to cmake module, print debug messages
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Prevent overwiring configured conf.py
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Debug frozen doc comparison
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Debug RST freeze on Windows
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Debug all RST lines on Windows
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Raise exceptions caught in freeze extension
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Debug windows frozendoc steps
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Fix frozendoc encoding on windows
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Clean up doc configuration
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Disable frozen docs test on macOS and Windows
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Update frozen API docs
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* initial doc restructure
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* rename file to avoid conflict
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* rename directory to avoid conflict`
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* fix readme
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* add images back
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* add python dependencies
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* remove min version
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* add find_python_package
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* update dependencies
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* add python2 blocking to doc generation
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* add local pip install pythonpath
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* remove recommonmark
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* add min version
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* reduce python dependencies
modify python macro to support dependencies
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* update dependencies
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* update python pip prefix
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* swap to original sphinx-press-theme
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* reconfigure docs target dependencies
Signed-off-by: Sean Cooper <sean@seancooper.xyz>
* temporarily disable windows docs builds
Signed-off-by: Sean Cooper <sean@seancooper.xyz>