From 81b2d6fbb07d302feab82613d31766462447fd71 Mon Sep 17 00:00:00 2001 From: Rohit Goswami Date: Sun, 28 Jul 2024 15:45:33 +0000 Subject: [PATCH] MAINT: Cleanup by localizing find python MAINT: Bump version to 0.3.27 --- meson.build | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 4efab7e43..0f1cb44ec 100644 --- a/meson.build +++ b/meson.build @@ -12,11 +12,11 @@ # NOTE: This is still a work in progress, the Makefiles are canonical project('OpenBLAS', ['c', 'fortran'], default_options: ['c_std=c99', 'pkgconfig.relocatable=true'], - version: '0.3.26.dev') + version: '0.3.27.dev') openblas_major_version = 0 # soversion openblas_minor_version = 3 -openblas_patch_version = '26.dev' +openblas_patch_version = '27.dev' openblas_version = f'@openblas_major_version@.@openblas_minor_version@.@openblas_patch_version@' # Skip the check for valid CC @@ -125,6 +125,8 @@ endif # add_project_arguments(f'-DF_INTERFACE_@upper_fcid@', language: 'c') # endif +py3 = find_program('python') + simd_extensions = [ {'flag': '-mmmx', 'define': 'HAVE_MMX'}, {'flag': '-msse', 'define': 'HAVE_SSE'}, @@ -433,7 +435,7 @@ _config_2h = custom_target('_config_2h', _config_for_getarch_2nd_h = custom_target('_config_for_getarch_2nd_h', output: '_config_for_getarch_2nd.h', command: [ - find_program('python'), + py3, _join_files_py, _config_1_path, _config_2h, @@ -457,7 +459,7 @@ _config_3h = custom_target('_config_3h', config_h = custom_target('config_h', output: 'config.h', command: [ - find_program('python'), + py3, _join_files_py, _config_for_getarch_2nd_h, _config_3h,