[ci] Get CI builds to work again (#377)
* [ci] Enable tests against HCC from ROCm1.7 as well * [ci] rocm 1.7 requires nodes with dkms label * [ci] Temporarily drop hcc_1_6 and hcc_1_7 builds
This commit is contained in:
Vendored
+39
-2
@@ -359,7 +359,7 @@ if( params.hcc_integration_test )
|
|||||||
|
|
||||||
node('docker && rocm')
|
node('docker && rocm')
|
||||||
{
|
{
|
||||||
hcc_integration_testing( '--device=/dev/kfd', 'hcc-ctu', build_config )
|
hcc_integration_testing( '--device=/dev/kfd --device=/dev/dri --group-add=video', 'hcc-ctu', build_config )
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
@@ -407,9 +407,10 @@ parallel hcc_ctu:
|
|||||||
docker_clean_images( job_name, hip_image_name )
|
docker_clean_images( job_name, hip_image_name )
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
hcc_1_6:
|
hcc_1_6:
|
||||||
{
|
{
|
||||||
node('docker && rocm && !dkms')
|
node('docker && rocm')
|
||||||
{
|
{
|
||||||
String hcc_ver = 'hcc-1.6'
|
String hcc_ver = 'hcc-1.6'
|
||||||
String from_image = 'rocm/dev-ubuntu-16.04:1.6.4'
|
String from_image = 'rocm/dev-ubuntu-16.04:1.6.4'
|
||||||
@@ -442,6 +443,42 @@ hcc_1_6:
|
|||||||
// docker_clean_images( job_name, hip_image_name )
|
// docker_clean_images( job_name, hip_image_name )
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
hcc_1_7:
|
||||||
|
{
|
||||||
|
node('docker && rocm && dkms')
|
||||||
|
{
|
||||||
|
String hcc_ver = 'hcc-1.7'
|
||||||
|
String from_image = 'rocm/dev-ubuntu-16.04:latest'
|
||||||
|
String inside_args = '--device=/dev/kfd --device=/dev/dri --group-add=video'
|
||||||
|
|
||||||
|
// Checkout source code, dependencies and version files
|
||||||
|
String source_hip_rel = checkout_and_version( hcc_ver )
|
||||||
|
|
||||||
|
// Create/reuse a docker image that represents the hip build environment
|
||||||
|
def hip_build_image = docker_build_image( hcc_ver, 'hip', ' --pull', source_hip_rel, from_image )
|
||||||
|
|
||||||
|
// Print system information for the log
|
||||||
|
hip_build_image.inside( inside_args )
|
||||||
|
{
|
||||||
|
sh """#!/usr/bin/env bash
|
||||||
|
set -x
|
||||||
|
/opt/rocm/bin/rocm_agent_enumerator -t ALL
|
||||||
|
/opt/rocm/bin/hcc --version
|
||||||
|
"""
|
||||||
|
}
|
||||||
|
|
||||||
|
// Conctruct a binary directory path based on build config
|
||||||
|
String build_hip_rel = build_directory_rel( build_config );
|
||||||
|
|
||||||
|
// Build hip inside of the build environment
|
||||||
|
docker_build_inside_image( hip_build_image, inside_args, hcc_ver, '', build_config, source_hip_rel, build_hip_rel )
|
||||||
|
|
||||||
|
// Not pushing hip-hcc-1.7 builds at this time; saves a minute and nobody needs?
|
||||||
|
// String hip_image_name = docker_upload_artifactory( hcc_ver, job_name, from_image, source_hip_rel, build_hip_rel )
|
||||||
|
// docker_clean_images( job_name, hip_image_name )
|
||||||
|
}
|
||||||
|
},
|
||||||
|
*/
|
||||||
nvcc:
|
nvcc:
|
||||||
{
|
{
|
||||||
node('docker && cuda')
|
node('docker && cuda')
|
||||||
|
|||||||
Reference in New Issue
Block a user