Updating release build dockers (#195)
- Bringing in recent changes from rocm-6.4 branch (https://github.com/ROCm/rocprofiler-systems/pull/171)
- Add libdrm-devel to rhel and suse files
- Update ROCm installation method in Ubuntu file
- Add additional output to `test-release.sh` to catch failures due to a Python version not included
- Add Python 3.13 to Dockers
[ROCm/rocprofiler-systems commit: 83a9eb3d7c]
This commit is contained in:
zatwierdzone przez
GitHub
rodzic
6fe19b681a
commit
80423ff010
@@ -37,7 +37,7 @@
|
||||
: ${MAX_THREADS:=2048}
|
||||
: ${PERFETTO_TOOLS:="ON"}
|
||||
: ${HIDDEN_VIZ:="ON"}
|
||||
: ${PYTHON_VERSIONS:="6 7 8 9 10 11 12"}
|
||||
: ${PYTHON_VERSIONS:="6 7 8 9 10 11 12 13"}
|
||||
: ${GENERATORS:="STGZ DEB RPM"}
|
||||
: ${MPI_IMPL:="openmpi"}
|
||||
: ${CLEAN:=0}
|
||||
|
||||
@@ -118,10 +118,21 @@ setup-env()
|
||||
|
||||
test-install()
|
||||
{
|
||||
ROCPROFSYS_MODULE_PATH="${1}/lib/python/site-packages/rocprofsys"
|
||||
verbose-run rocprof-sys-instrument --help
|
||||
verbose-run rocprof-sys-avail --help
|
||||
verbose-run rocprof-sys-avail --all
|
||||
if [ -d "${1}/lib/python/site-packages/rocprofsys" ]; then
|
||||
|
||||
if [ -d $ROCPROFSYS_MODULE_PATH ]; then
|
||||
verbose-run which python3
|
||||
verbose-run python3 --version
|
||||
PYTHON_VERSION=$(python3 -c "import sys; print(f'python-{sys.version_info.major}{sys.version_info.minor}')")
|
||||
|
||||
if [ -z "$(find $ROCPROFSYS_MODULE_PATH -name "*${PYTHON_VERSION}*" -print -quit)" ]; then
|
||||
echo "Error: No library found for Python version ${PYTHON_VERSION} in $ROCPROFSYS_MODULE_PATH"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
verbose-run rocprof-sys-python --help
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user