mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-05-11 17:00:22 +00:00
Fix CI/CD pipeline issues (#773)
This pull request updates the deployment pipeline to allow custom CMake arguments to be passed to the pip install process on remote VMs. --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -30,6 +30,12 @@ fi
|
||||
if [ "${PLATFORM}" == "rocm" ]; then
|
||||
export CXX=/opt/rocm/bin/hipcc
|
||||
fi
|
||||
|
||||
PIP_CMAKE_ARGS_FILE="/root/mscclpp/pip_cmake_args.txt"
|
||||
if [ -f "${PIP_CMAKE_ARGS_FILE}" ]; then
|
||||
export CMAKE_ARGS="$(cat ${PIP_CMAKE_ARGS_FILE})"
|
||||
echo "Using CMAKE_ARGS: ${CMAKE_ARGS}"
|
||||
fi
|
||||
cd /root/mscclpp && pip3 install .
|
||||
pip3 install setuptools_scm
|
||||
python3 -m setuptools_scm --force-write-version-files
|
||||
|
||||
Reference in New Issue
Block a user