try building ck4inductor and testing it inside a virtual environment (#2142)

use system virtualenv

use python-full ubuntu package in docker image

---------

Co-authored-by: illsilin <Illia.Silin@amd.com>
Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com>

[ROCm/composable_kernel commit: 6601931949]
This commit is contained in:
Max Podkorytov
2025-04-29 17:22:38 -07:00
committed by GitHub
parent 8346274d24
commit a65374ed85
2 changed files with 6 additions and 5 deletions

View File

@@ -49,9 +49,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
mpich \
net-tools \
pkg-config \
python3 \
python3-dev \
python3-pip \
python3-full \
redis \
rocm-llvm-dev \
sshpass \

7
Jenkinsfile vendored
View File

@@ -530,8 +530,11 @@ def Build_CK(Map conf=[:]){
if ( params.RUN_INDUCTOR_TESTS && !params.BUILD_LEGACY_OS && arch_type == 1 ){
echo "Run inductor codegen tests"
sh """
pip install --target ${env.WORKSPACE} --break-system-packages --verbose .
pytest python/test/test_gen_instances.py
python3 -m venv ${env.WORKSPACE}
. ${env.WORKSPACE}/bin/activate
python3 -m pip install pytest build setuptools setuptools_scm
python3 -m pip install .
python3 -m pytest python/test/test_gen_instances.py
"""
}
dir("build"){