Unverified Commit 418b38f9 authored by Paul Fultz II's avatar Paul Fultz II Committed by GitHub
Browse files

Merge branch 'develop' into tf_pb_py

parents 82b60de9 efe3a9f0
......@@ -22,7 +22,7 @@ find_package(ROCM REQUIRED)
include(ROCMSetupVersion)
rocm_setup_version(VERSION 0.1)
rocm_setup_version(VERSION 0.2)
option( BUILD_SHARED_LIBS "Build as a shared library" ON )
......
......@@ -3,6 +3,7 @@ def rocmtestnode(variant, name, body) {
def image = 'migraphxlib'
def cmake_build = { compiler, flags ->
def cmd = """
env
ulimit -c unlimited
rm -rf build
mkdir build
......@@ -20,21 +21,22 @@ def rocmtestnode(variant, name, body) {
}
}
node(name) {
stage("checkout ${variant}") {
env.HSA_ENABLE_SDMA=0
checkout scm
}
stage("image ${variant}") {
try {
docker.build("${image}", '.')
} catch(Exception ex) {
docker.build("${image}", '--no-cache .')
withEnv(['HSA_ENABLE_SDMA=0', 'MIOPEN_DEBUG_GCN_ASM_KERNELS=0']) {
stage("checkout ${variant}") {
checkout scm
}
stage("image ${variant}") {
try {
docker.build("${image}", '.')
} catch(Exception ex) {
docker.build("${image}", '--no-cache .')
}
}
}
withDockerContainer(image: image, args: '--device=/dev/kfd --device=/dev/dri --group-add video --cap-add SYS_PTRACE') {
timeout(time: 1, unit: 'HOURS') {
body(cmake_build)
withDockerContainer(image: image, args: '--device=/dev/kfd --device=/dev/dri --group-add video --cap-add SYS_PTRACE') {
timeout(time: 1, unit: 'HOURS') {
body(cmake_build)
}
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment