Update workflows and docker images (#10)
Updated OS test matrix to match ROCm 6.2. Update build and CI docker files Remove the "docs" workflow, because "read-the-docs" is now being used for ROCm documentation
이 커밋은 다음에 포함됨:
@@ -265,13 +265,13 @@ build-and-package-base()
|
||||
DEST="stgz"
|
||||
;;
|
||||
DEB)
|
||||
verbose-run cpack -G DEB -D CPACK_PACKAGING_INSTALL_PREFIX=/opt/rocprof-sys
|
||||
verbose-run cpack -G DEB -D CPACK_PACKAGING_INSTALL_PREFIX=/opt/rocprofiler-systems
|
||||
EXT="deb"
|
||||
SEP="_"
|
||||
DEST="deb"
|
||||
;;
|
||||
RPM)
|
||||
verbose-run cpack -G RPM -D CPACK_PACKAGING_INSTALL_PREFIX=/opt/rocprof-sys
|
||||
verbose-run cpack -G RPM -D CPACK_PACKAGING_INSTALL_PREFIX=/opt/rocprofiler-systems
|
||||
EXT="rpm"
|
||||
SEP="-"
|
||||
DEST="rpm"
|
||||
@@ -325,7 +325,7 @@ build-and-package-base()
|
||||
esac
|
||||
popd
|
||||
verbose-run mkdir -p ${BUILD_DIR}/${DEST}
|
||||
verbose-run copy-installer ${i} ${BUILD_DIR}/${DEST} ${BUILD_DIR}/${DIR}/omnitrace${SEP}${VERSION}-*.${EXT}
|
||||
verbose-run copy-installer ${i} ${BUILD_DIR}/${DEST} ${BUILD_DIR}/${DIR}/rocprofiler-systems${SEP}${VERSION}-*.${EXT}
|
||||
done
|
||||
}
|
||||
|
||||
@@ -370,7 +370,7 @@ fi
|
||||
|
||||
if [ "${IS_DOCKER}" -ne 0 ]; then git config --global --add safe.directory ${PWD}; fi
|
||||
|
||||
verbose-run echo "Build omnitrace installers with generators: ${GENERATORS}"
|
||||
verbose-run echo "Build rocprofiler-systems installers with generators: ${GENERATORS}"
|
||||
|
||||
build-and-package ${WITH_CORE} ${DISTRO}-core -DROCPROFSYS_USE_HIP=OFF -DROCPROFSYS_USE_MPI=OFF
|
||||
build-and-package ${WITH_MPI} ${DISTRO}-${MPI_IMPL} -DROCPROFSYS_USE_HIP=OFF -DROCPROFSYS_USE_MPI=ON
|
||||
|
||||
+20
-20
@@ -107,10 +107,10 @@ test-install()
|
||||
change-directory()
|
||||
{
|
||||
if [ ! -f "${1}" ]; then
|
||||
if [ -f "/home/omnitrace/${1}" ]; then
|
||||
cd /home/omnitrace
|
||||
elif [ -f "/home/omnitrace/docker/${1}" ]; then
|
||||
cd /home/omnitrace/docker
|
||||
if [ -f "/home/rocprofiler-systems/${1}" ]; then
|
||||
cd /home/rocprofiler-systems
|
||||
elif [ -f "/home/rocprofiler-systems/docker/${1}" ]; then
|
||||
cd /home/rocprofiler-systems/docker
|
||||
fi
|
||||
fi
|
||||
realpath ${1}
|
||||
@@ -121,12 +121,12 @@ test-stgz()
|
||||
if [ -z "${1}" ]; then return; fi
|
||||
|
||||
local INSTALLER=$(change-directory ${1})
|
||||
mkdir /opt/rocprof-sys-stgz
|
||||
setup-env /opt/rocprof-sys-stgz
|
||||
mkdir /opt/rocprofiler-systems-stgz
|
||||
setup-env /opt/rocprofiler-systems-stgz
|
||||
|
||||
verbose-run ${INSTALLER} --prefix=/opt/rocprof-sys-stgz --skip-license --exclude-dir
|
||||
verbose-run ${INSTALLER} --prefix=/opt/rocprofiler-systems-stgz --skip-license --exclude-dir
|
||||
|
||||
test-install /opt/rocprof-sys-stgz
|
||||
test-install /opt/rocprofiler-systems-stgz
|
||||
}
|
||||
|
||||
test-deb()
|
||||
@@ -134,16 +134,16 @@ test-deb()
|
||||
if [ -z "${1}" ]; then return; fi
|
||||
|
||||
local INSTALLER=$(change-directory ${1})
|
||||
setup-env /opt/rocprof-sys
|
||||
setup-env /opt/rocprofiler-systems
|
||||
|
||||
verbose-run ${SUDO_CMD} dpkg --contents ${INSTALLER}
|
||||
verbose-run ${SUDO_CMD} dpkg -i ${INSTALLER}
|
||||
|
||||
test-install /opt/rocprof-sys
|
||||
remove-pycache /opt/rocprof-sys
|
||||
verbose-run apt-get remove -y rocprof-sys
|
||||
if [ -d /opt/rocprof-sys ]; then
|
||||
find /opt/rocprof-sys -type f
|
||||
test-install /opt/rocprofiler-systems
|
||||
remove-pycache /opt/rocprofiler-systems
|
||||
verbose-run apt-get remove -y rocprofiler-systems
|
||||
if [ -d /opt/rocprofiler-systems ]; then
|
||||
find /opt/rocprofiler-systems -type f
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -152,16 +152,16 @@ test-rpm()
|
||||
if [ -z "${1}" ]; then return; fi
|
||||
|
||||
local INSTALLER=$(change-directory ${1})
|
||||
setup-env /opt/rocprof-sys
|
||||
setup-env /opt/rocprofiler-systems
|
||||
|
||||
verbose-run ${SUDO_CMD} rpm -ql -p ${INSTALLER}
|
||||
verbose-run ${SUDO_CMD} rpm -v -i -p ${INSTALLER} --nodeps
|
||||
|
||||
test-install /opt/rocprof-sys
|
||||
remove-pycache /opt/rocprof-sys
|
||||
verbose-run rpm -e rocprof-sys
|
||||
if [ -d /opt/rocprof-sys ]; then
|
||||
find /opt/rocprof-sys -type f
|
||||
test-install /opt/rocprofiler-systems
|
||||
remove-pycache /opt/rocprofiler-systems
|
||||
verbose-run rpm -e rocprofiler-systems
|
||||
if [ -d /opt/rocprofiler-systems ]; then
|
||||
find /opt/rocprofiler-systems -type f
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단