Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Build ASAN on without nvidia-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
KellenSunderland committed Sep 10, 2018
1 parent e15e9ee commit 1a3d7ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ core_logic: {
ws('workspace/build-cpu-asan') {
timeout(time: max_time, unit: 'MINUTES') {
utils.init_git()
utils.docker_run('ubuntu_cpu', 'build_ubuntu_cpu_cmake_asan', true)
utils.docker_run('ubuntu_cpu', 'build_ubuntu_cpu_cmake_asan', false)
utils.pack_lib('cpu_asan', mx_lib_cpp_examples_cpu)
}
}
Expand Down Expand Up @@ -470,7 +470,7 @@ core_logic: {
node(NODE_LINUX_CPU) {
ws('workspace/ut-python3-cpu-asan') {
utils.unpack_and_init('cpu_asan', mx_lib_cpp_examples_cpu)
utils.docker_run('ubuntu_gpu', 'integrationtest_ubuntu_gpu_cpp_package', true)
utils.docker_run('ubuntu_gpu', 'integrationtest_ubuntu_gpu_cpp_package', false)
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion ci/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def build_docker(platform: str, docker_binary: str, registry: str, num_retries:
#
cmd = [docker_binary, "build",
"-f", get_dockerfile(platform),
"--cap-add SYS_PTRACE", # Required by ASAN
"--cap-add", "SYS_PTRACE", # Required by ASAN
"--build-arg", "USER_ID={}".format(os.getuid()),
"--build-arg", "GROUP_ID={}".format(os.getgid())]
if use_cache:
Expand Down

0 comments on commit 1a3d7ec

Please sign in to comment.