Skip to content

Commit 40e3a29

Browse files
authored
Fix lapack dependency guard in install.sh in hipblaslt (#6148)
## Motivation install.sh -d command prints an error message saying ```Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.37.1) ./install.sh: line 713: [: missing `]' ./install.sh: line 713: blis: command not found ~/gh/rocm-libraries/projects/hipblaslt ~/gh/rocm-libraries/projects/hipblaslt ``` ## Technical Details correct fix is to replace [ with [[ ## Test Plan run 'install.sh -d' after the change ## Test Result error message is gone. ## Submission Checklist - [ ] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
1 parent ad0d9d2 commit 40e3a29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/hipblaslt/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ if [[ "${install_dependencies}" == true ]]; then
710710

711711
# The following builds googletest from source, installs into cmake default /usr/local
712712
build_lapack="ON"
713-
if [ "${use_system_packages}" == true || "${cpu_ref_lib}" == "blis" ]; then
713+
if [[ "${use_system_packages}" == true || "${cpu_ref_lib}" == "blis" ]]; then
714714
build_lapack="OFF"
715715
fi
716716
pushd .

0 commit comments

Comments
 (0)