Remove absolute link to libamd_smi.so
Also modify README to include: export PATH="$PATH:/opt/rocm/bin" Change-Id: Ib4513d61fd3e6b23cc789491c11d83e6a6de947a Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Este commit está contenido en:
1 padre
08268ba1c1
commit
874d8edb3d
7 files changed
+34
-42
No files matched your search
+4
-3
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# this program generates py-interface/amdsmi_wrapper.py.in
|
||||
# this program generates py-interface/amdsmi_wrapper.py
|
||||
|
||||
set -eu
|
||||
|
||||
@@ -44,7 +44,8 @@ cp -r /src /tmp/src \
|
||||
&& rm -rf build .cache \
|
||||
&& cmake -B build -DBUILD_WRAPPER=ON $ENABLE_ESMI_LIB \
|
||||
&& make -C build -j $(nproc) \
|
||||
&& cp /tmp/src/py-interface/amdsmi_wrapper.py.in /src/py-interface/amdsmi_wrapper.py.in"
|
||||
&& cp /tmp/src/py-interface/amdsmi_wrapper.py /src/py-interface/amdsmi_wrapper.py \
|
||||
&& chown --reference /src/py-interface/CMakeLists.txt /src/py-interface/amdsmi_wrapper.py"
|
||||
|
||||
echo -e "Generated new wrapper!
|
||||
[$DIR/py-interface/amdsmi_wrapper.py.in]"
|
||||
[$DIR/py-interface/amdsmi_wrapper.py]"
|
||||
Reference in new issue
Block a user