forked from ROCm/hipblaslt
Compare commits
2 Commits
fixes
...
distro_mac
| Author | SHA256 | Date | |
|---|---|---|---|
| b759c83426 | |||
| 8a82d7908e |
@@ -1,8 +1,9 @@
|
||||
%{rocm_set_libpackage_name hipblaslt -s 0}
|
||||
|
||||
%if 0%{!?suse_version:1}
|
||||
%define python_exec python3
|
||||
%define python_expand python3
|
||||
%{!?python_exec: %define python_exec python3}
|
||||
%if 0%{?python_flavor:1}
|
||||
%define rocm_python_bin %{expand:%{__%python_flavor}}
|
||||
%else
|
||||
%define rocm_python_bin python3
|
||||
%endif
|
||||
|
||||
@@ -234,7 +235,7 @@ sed -i -e '/joblib/d' tensilelite/requirements.*
|
||||
cd tensilelite
|
||||
TL=$PWD
|
||||
|
||||
%python_exec setup.py install --root $TL
|
||||
%{python_exec} setup.py install --root $TL
|
||||
cd ..
|
||||
|
||||
# Should not have to do this
|
||||
@@ -247,13 +248,8 @@ export TENSILE_ROCM_OFFLOAD_BUNDLER_PATH=${CLANG_PATH}/clang-offload-bundler
|
||||
|
||||
# Look for the just built tensilelite
|
||||
export PATH=${TL}/%{_bindir}:$PATH
|
||||
%if 0%{?suse_version}
|
||||
%{python_expand} export PYTHONPATH=${TL}%{python_sitelib}:$PYTHONPATH
|
||||
%{python_expand} export Tensile_DIR=${TL}%{python_sitelib}/Tensile
|
||||
%else
|
||||
export PYTHONPATH=${TL}%{python3_sitelib}:$PYTHONPATH
|
||||
export Tensile_DIR=${TL}%{python3_sitelib}/Tensile
|
||||
%endif
|
||||
%{?python_expand} export PYTHONPATH=${TL}%{python3_sitelib}:$PYTHONPATH
|
||||
%{?python_expand} export Tensile_DIR=${TL}%{python3_sitelib}/Tensile
|
||||
export LLVM_DIR=%{rocmllvm_cmakedir}
|
||||
# Uncomment and see if the path is sane
|
||||
# TensileGetPath
|
||||
|
||||
Reference in New Issue
Block a user