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

Don't build test by default #5302

Merged
merged 6 commits into from
Jun 24, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ endif()
option(USE_CLANG_FORMAT "" OFF)
option(BUILD_RDMA "" OFF)
option(BUILD_CUDA "" ON)
option(BUILD_TESTING "" ON)
option(BUILD_TESTING "" OFF)
option(WITH_XLA "Option to build with XLA" OFF)
option(WITH_TENSORRT "Option to build with TensorRT" OFF)
option(BUILD_GIT_VERSION "" ON)
Expand Down
1 change: 1 addition & 0 deletions docker/package/manylinux/build_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ def build():
if cuda_version in ["11.0", "11.1"]:
versioned_img_tag = f"{img_prefix}:0.2"
enforced_oneflow_cmake_args = ""
enforced_oneflow_cmake_args += " -DBUILD_TESTING=ON"
if float(cuda_version) >= 11:
assert (
"CUDNN_STATIC" not in extra_oneflow_cmake_args
Expand Down