forked from ROCm/hipblaslt
Compare commits
1 Commits
distro_mac
...
fixes
| Author | SHA256 | Date | |
|---|---|---|---|
| 96097bcb02 |
@@ -1,9 +1,8 @@
|
||||
%{rocm_set_libpackage_name hipblaslt -s 0}
|
||||
|
||||
%{!?python_exec: %define python_exec python3}
|
||||
%if 0%{?python_flavor:1}
|
||||
%define rocm_python_bin %{expand:%{__%python_flavor}}
|
||||
%else
|
||||
%if 0%{!?suse_version:1}
|
||||
%define python_exec python3
|
||||
%define python_expand python3
|
||||
%define rocm_python_bin python3
|
||||
%endif
|
||||
|
||||
@@ -235,7 +234,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
|
||||
@@ -248,8 +247,13 @@ export TENSILE_ROCM_OFFLOAD_BUNDLER_PATH=${CLANG_PATH}/clang-offload-bundler
|
||||
|
||||
# Look for the just built tensilelite
|
||||
export PATH=${TL}/%{_bindir}:$PATH
|
||||
%{?python_expand} export PYTHONPATH=${TL}%{python3_sitelib}:$PYTHONPATH
|
||||
%{?python_expand} export Tensile_DIR=${TL}%{python3_sitelib}/Tensile
|
||||
%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
|
||||
export LLVM_DIR=%{rocmllvm_cmakedir}
|
||||
# Uncomment and see if the path is sane
|
||||
# TensileGetPath
|
||||
|
||||
Reference in New Issue
Block a user