From 410ce347fdab1abfff2d3fad514a14b467b932c0 Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Fri, 31 Jul 2026 08:30:19 -0700 Subject: [PATCH 1/3] apply rpath logic for OSX identical logic was used in mkl-service --- meson.build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 6e07cb01..032703ec 100644 --- a/meson.build +++ b/meson.build @@ -29,8 +29,13 @@ cc = meson.get_compiler('c') c_args = ['-DNDEBUG'] rpath_link_args = [] -if host_machine.system() == 'linux' - rpath = '$ORIGIN' / '../..' + ':' + '$ORIGIN' / '../../..' +if host_machine.system() != 'windows' + if host_machine.system() == 'darwin' + origin = '@loader_path' + else + origin = '$ORIGIN' + endif + rpath = origin / '../..' + ':' + origin / '../../..' rpath_link_args = ['-Wl,-rpath,' + rpath] endif From 8bda8587eef416b44df276542bf106ac2730d162 Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Fri, 31 Jul 2026 08:54:10 -0700 Subject: [PATCH 2/3] add gh-351 to changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ecf1cab..f25b2bde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.3.1] - 2026-07-31 + +### Fixed +* Fixed RPATH logic for OSX builds [gh-351](https://github.com/IntelPython/mkl_fft/pull/351) + ## [2.3.0] - 2026-07-30 ### Added From 72631f2be3e0df69eb9060e3312870b1f0f5e099 Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Fri, 31 Jul 2026 08:54:13 -0700 Subject: [PATCH 3/3] bump version to 2.3.1 --- mkl_fft/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkl_fft/_version.py b/mkl_fft/_version.py index 55e47090..3a5935a2 100644 --- a/mkl_fft/_version.py +++ b/mkl_fft/_version.py @@ -1 +1 @@ -__version__ = "2.3.0" +__version__ = "2.3.1"