MAINT: Cleanup by localizing find python

MAINT: Bump version to 0.3.27
This commit is contained in:
Rohit Goswami 2024-07-28 15:45:33 +00:00 committed by Mateusz Sokół
parent a5ac9e7f1a
commit 81b2d6fbb0
1 changed files with 6 additions and 4 deletions

View File

@ -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,