Skip to content

Commit

Permalink
Fixed typo in 4158930; variable renames. (#815)
Browse files Browse the repository at this point in the history
Details:
- Fixed a typo in the "./configure --help" output for the ScaLAPACK
  compatibility option implemented in 4158930.
- Trivial variable renames.
  • Loading branch information
fgvanzee authored Jun 26, 2024
1 parent 31ecf82 commit 8820f8f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build/bli_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
#define BLIS_DISABLE_MEM_TRACING
#endif

#if @scalapack_compat@
#if @enable_scalapack_compat@
#define BLIS_ENABLE_SCALAPACK_COMPAT
#else
#define BLIS_DISABLE_SCALAPACK_COMPAT
Expand Down
16 changes: 8 additions & 8 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ print_usage()
Enable strict compatibility with ScaLAPACK, which may
requiring disabling certain conflicting functionality
available throught the BLAS and/or CBLAS interfaces.
available through the BLAS and/or CBLAS interfaces.
-a NAME --enable-addon=NAME
Expand Down Expand Up @@ -3015,9 +3015,9 @@ blis_main()
enable_amd_frame_tweaks='no'
enable_memkind='' # The default memkind value is determined later on.
enable_trsm_preinversion='yes'
enable_scalapack_compat='no'
force_version='no'
complex_return='default'
scalapack_compat='no'

# The addon flag and names.
addon_flag=''
Expand Down Expand Up @@ -3273,10 +3273,10 @@ blis_main()
;;

enable-scalapack-compat)
scalapack_compat='yes'
enable_scalapack_compat='yes'
;;
disable-scalapack-compat)
scalapack_compat='no'
enable_scalapack_compat='no'
;;

with-memkind)
Expand Down Expand Up @@ -3947,12 +3947,12 @@ blis_main()
echo "${script_name}: memory tracing output is disabled."
enable_mem_tracing_01=0
fi
if [[ ${scalapack_compat} = yes ]]; then
if [[ ${enable_scalapack_compat} = yes ]]; then
echo "${script_name}: ScaLAPACK compatibility is enabled."
scalapack_compat_01=1
enable_scalapack_compat_01=1
else
echo "${script_name}: ScaLAPACK compatibility is disabled."
scalapack_compat_01=0
enable_scalapack_compat_01=0
fi
if [[ ${has_memkind} = yes ]]; then
if [[ -z ${enable_memkind} ]]; then
Expand Down Expand Up @@ -4332,7 +4332,7 @@ blis_main()
add_config_var complex_return_intel complex_return_intel01
add_config_var addon_list_includes
add_config_var enable_addons enable_addons_01
add_config_var scalapack_compat scalapack_compat_01
add_config_var enable_scalapack_compat enable_scalapack_compat_01

generate_config_file "${config_mk_in_path}" "${config_mk_out_path}"
generate_config_file "${bli_config_h_in_path}" "${bli_config_h_out_path}"
Expand Down

0 comments on commit 8820f8f

Please sign in to comment.