Up to [cvs.NetBSD.org] / pkgsrc / math / imath
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
imath: update to 3.2.0. ## Version 3.2.0 (August 8, 2025) Minor release with several bug and build fixes: * Fix undefined behavior in the `Vec*` class `operator[]` ([#449](https://github.com/AcademySoftwareFoundation/Imath/pulls/449)). * Fix call to `_mm_cvtps_ph` in `half.h`, Windows build failure Build changes/improvements: * Updated and simplified SO versioning policy: this release adopts a policy of appending the `MAJOR.MINOR.PATCH` software release name to the `SONAME` to form the real name of the shared library. * Add `uninstall` target * Add `iOS` cross-compilation support * Add support for HIP (AMD's Heterogeneous-compute Interface for Portability) * Fix handling of `/EHsc` flag * Required cmake version is now 3.14 Also: * Source files have been reformatted via `clang-format`. This release also marks the introduction of an alternate boost-free implementation of the Imath python module using pybind11. The `pybindimath` module is an incomplete work-in-progress and is not included in the installation. Activate the build via `-DPYBIND11=ON`.
imath: update to 3.1.12. ## Version 3.1.12 (September 9, 2024) Patch release with a small fix: * Support for compiling half.h with hip-runtime-amd Also, the v3.1.11 release had improper versioning in its cmake and pkgconf configuration files. This is now fixed.
imath: update to 3.1.11. ## Version 3.1.11 (February 28, 2024) Patch release with small build fix: - Add explicit `std::` namespace for `isfinite` in `ImathFun.cpp` This release also introduces the practice of signing release artifacts via [sigstore](https://www.sigstore.dev). ### Merged Pull Requests * \[[#371](https://github.com/AcademySoftwareFoundation/Imath/pull/371)\] ImathFun.cpp: add std:: to isfinite in remaining cases (#371) * \[[#369](https://github.com/AcademySoftwareFoundation/Imath/pull/369)\] Add workflow to sign release artifacts with Sigstore * \[[#368](https://github.com/AcademySoftwareFoundation/Imath/pull/368)\] Add std:: to isfinite in ImathFun.cpp
imath: update to 3.1.10.
## Version 3.1.10 (January 26, 2024)
Patch release with various build/bug fixes.
Build fixes:
- Fix a problem where downstream projects using Imath would build
python bindings even if they weren't requested.
- Fix for missing `std::bit_cast`
- Fix missing/necessary use of IMATH_HOSTDEVICE
- IMATH_INSTALL_PKG_CONFIG is now on by default, even on Windows
- Fix calling default constructor by uniform init in TypeTraits
- Fix redundant PYIMATH_EXPORTS causing compile issues on Windows Clang
- Update to SO versioning policy:
This change adopts a policy of appending the ``MAJOR.MINOR.PATCH``
software release name to the ``SONAME`` to form the real name of the
shared library.
See [website/install.rst](website/install.rst) and [PR
#339](https://github.com/AcademySoftwareFoundation/openexr/pull/339)
for more details.
Bug fixes:
- Fix half to float giving wrong results on older x86_64 CPUs on Windows
Other changes:
- succ()/pred() now use std::nextafter().
- Expand epsilon bounds for m44x pyImath test.
- Rename "docs" to "website".
- Add missing copyright/license identifiers.
### Merged Pull Requests
* \[[#363](https://github.com/AcademySoftwareFoundation/Imath/pull/363)\]
Update install instructions to reflect new SO versioning policy
* \[[#362](https://github.com/AcademySoftwareFoundation/Imath/pull/362)\]
Require sphinx 5.0
* \[[#361](https://github.com/AcademySoftwareFoundation/Imath/pull/361)\]
src/python/config/ModuleDefine.cmake: do not install a cmake file exporting targets for dependent projects
* \[[#358](https://github.com/AcademySoftwareFoundation/Imath/pull/358)\]
Fix half to float giving wrong results on older x86_64 CPUs on Windows
* \[[#353](https://github.com/AcademySoftwareFoundation/Imath/pull/353)\]
Changed implementation of succ and pred to use std::nextafter.
* \[[#350](https://github.com/AcademySoftwareFoundation/Imath/pull/350)\]
Fix check for the availability of std::bit_cast
* \[[#349](https://github.com/AcademySoftwareFoundation/Imath/pull/349)\]
IMATH_INSTALL_PKG_CONFIG is on by default, even on Windows
* \[[#347](https://github.com/AcademySoftwareFoundation/Imath/pull/347)\]
Export Imath from the build tree and so on.
* \[[#344](https://github.com/AcademySoftwareFoundation/Imath/pull/344)\]
rm unnecessary IMATH_HOSTDEVICE attributes.
* \[[#342](https://github.com/AcademySoftwareFoundation/Imath/pull/342)\]
Add missing copyright/license identifiers
* \[[#341](https://github.com/AcademySoftwareFoundation/Imath/pull/341)\]
Remove unnecessary files
* \[[#340](https://github.com/AcademySoftwareFoundation/Imath/pull/340)\]
Fix calling default constructor by uniform init.
* \[[#339](https://github.com/AcademySoftwareFoundation/Imath/pull/339)\]
Update and simply SO versioning policy
* \[[#338](https://github.com/AcademySoftwareFoundation/Imath/pull/338)\]
Rename "docs" to "website"
* \[[#333](https://github.com/AcademySoftwareFoundation/Imath/pull/333)\]
Expand epsilon bounds for m44x pyImath test
* \[[#331](https://github.com/AcademySoftwareFoundation/Imath/pull/331)\]
Fixed redundant PYIMATH_EXPORTS causing compile issues on Windows Clang
* \[[#326](https://github.com/AcademySoftwareFoundation/Imath/pull/326)\]
Use security@openexr.com for consistency
* \[[#320](https://github.com/AcademySoftwareFoundation/Imath/pull/320)\]
Add missing IMATH_HOSTDEVICE to Matrix33<T>::invert(bool)
imath: update to 3.1.9. ## Version 3.1.9 (May 31, 2023) Patch release that fixes an correct .so version number introduced in v3.1.8. All Imath library functionality is compatible with v3.1.8. This release also reverts [#305](https://github.com/AcademySoftwareFoundation/Imath/pull/305), which inadvertently introduced additional python bindings in v3.1.8 that altered the ABI of ``libPyImath``. ``libPyImath`` is now ABI-compatible with v3.1.7 and previous releases.
imath: update to 3.1.8. ## Version 3.1.8 (May 22, 2023) Patch release that addresses miscellaneous minor compiler/build/doc issues and extends test coverage.
imath: update to 3.1.7. ## Version 3.1.7 (March 1, 2023) Patch release with miscellaneous bug/doc/build fixes. In particular: - Support for relative prefix in pkg-config - Reorganization of documentation at https://imath.readthedocs.io - Add a ``trace()`` method on Matrix types ### Merged Pull Requests * Move index to bottom of main page; remove top-level link * Fix doc typo * Fix documentation glitches and symbol visibility table * Reorganize repo/readthedocs documentation * Add missing licenses/copyrights * Support relative prefix in pkg-config * Remove MACOSX_RPATH forcing * Add trace function for matrix types * Define BOOST_BIND_GLOBAL_PLACEHOLDERS to suppress pragma message * Use Py_ssize_t in place of size_t where appropriate to avoid warnings * Update CONTRIBUTING.md to be consistent with OpenEXR * Remove export attribute from inline half functions ## Version 3.1.6 (November 7, 2022) Patch release with miscellaneous bug/doc/build fixes. * fix memory leak in V3fArrayFromBuffer * Add <cstdint> for int64_t * Initialize x in testRoots.cpp:solve() to suppress compiler warning * Fix gcc compiler warning in testFun.cpp * Test return value of extractSHRT to avoid uninitialized reference * Fix example code so it compiles as is * Cuda safety in several headers * Fix markdown and typos in README.md * Do not warn if half.h has already being included * Fix compiler warnings on windows * Remove irrelevant cvs ignore files * Update sphinx version
imath: update to 3.1.5. ## Version 3.1.5 (March 28, 2022) Patch release with miscellaneous bug/doc/build fixes. In particular, this fixes an issue that could lead to incorrect values for `numeric_limits<half>`. This also updates the CI workflow matrix to VFX-CY2022.
imath: update to 3.1.4. ## Version 3.1.4 (January 21, 2022) Patch release with miscellaneous bug/doc/build fixes.
imath: update to 3.1.3. ## Version 3.1.3 (September 2, 2021) Patch release with miscellaneous fixes * Fix undefined access of a vector when empty * Require sphinx 4.0.3 * Build sphinx/doxygen docs with CMake * Use PYIMATH_OVERRIDE_PYTHON_INSTALL_DIR to specify destination python modules * Guard `__has_attribute` for compilers that don't support it * Cuda safety fixes * Replace stray Imath:: with IMATH_INTERNAL_NAMESPACE::
imath: update to 3.1.2. ## Version 3.1.2 (July 31, 2021) Patch release that fixes a Windows header issue. * Improve handling of ``#include <*intrin.h>`` ## Version 3.1.1 (July 20, 2021) Patch release that fixes a build failure on ARM64 macOS ## Version 3.1.0 (July 13, 2021) Minor release with new features: * Optimized half-to-float and float-to-half conversion, using F16C SSE instruction set if available. Non-SSE conversion eliminates the float-to-half exponent lookup table, and half-to-float conversion provides a compile-time-optional bit shifting that is slower but eliminates the need for the lookup table, for applications where memory is limited. Half-to-float and float-to-half conversion is also available as C-language functions ``imath_half_to_float()`` and ``imath_float_to_half()``. All new conversions produced identical results, and new options are off by default to ensure backwards compatibility. See https://imath.readthedocs.io for more info. * NOEXCEPT specifier can be eliminated at compile-time via the ``IMATH_USE_NOEXCEPT`` CMake option. * Python bindings: * FixedArray objects support a "read only" state. * FixedArray objects support python buffer protocol. * Optimized 4x4 matrix multiplication.
imath: add version 3.0.5 Imath is a basic, light-weight, and efficient C++ representation of 2D and 3D vectors and matrices and other simple but useful mathematical objects, functions, and data types common in computer graphics applications.