Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Run pip with break system pkgs on ubu24 #256

Draft
wants to merge 9 commits into
base: develop
Choose a base branch
from
5 changes: 3 additions & 2 deletions rocAL-setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,9 @@ def ERROR_CHECK(waitval):
' '+linuxSystemInstall_check+' install -y '+ coreRPMPackages[i]))

#pip3 packages
breakSystemPackages = "--break-system-packages" if "Ubuntu-24" in platformInfo else ""
for i in range(len(pip3Packages)):
ERROR_CHECK(os.system('pip3 install '+ pip3Packages[i]))
ERROR_CHECK(os.system('pip3 install '+ pip3Packages[i] + breakSystemPackages))

# turbo-JPEG - https://github.com/libjpeg-turbo/libjpeg-turbo.git -- 3.0.2
turboJpegVersion = '3.0.2'
Expand All @@ -383,7 +384,7 @@ def ERROR_CHECK(waitval):
elif "redhat" in platformInfo:
# no package avialable -- using source
ERROR_CHECK(os.system('sudo '+linuxFlag+' '+linuxSystemInstall+' '+linuxSystemInstall_check +
' install https://rpmfind.net/linux/opensuse/tumbleweed/repo/oss/x86_64/dlpack-devel-0.8-1.5.x86_64.rpm'))
' install https://rpmfind.net/linux/opensuse/tumbleweed/repo/oss/x86_64/dlpack-devel-0.8-1.6.x86_64.rpm'))


# RapidJSON - Source TBD: Package install of RapidJSON has compile issues - https://github.com/Tencent/rapidjson.git -- master
Expand Down