"vscode:/vscode.git/clone" did not exist on "ea8ae8c6397d8333760471e573e4d8ca4646efd0"
Unverified Commit d5a1fe2f authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files

[Misc] Keep all dgl_options with consistent style. (#6270)


Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
parent fa17fd09
...@@ -16,23 +16,11 @@ include(cmake/util/FindCUDA.cmake) ...@@ -16,23 +16,11 @@ include(cmake/util/FindCUDA.cmake)
# Options for building DGL. # Options for building DGL.
# NOTE: Please avoid editing this file to change build type. Instead, using # NOTE: Please avoid editing this file to change build type. Instead, using
# bash script/build_dgl.sh -e -t release to overwrite the value. # bash script/build_dgl.sh -e -t release to overwrite the value.
dgl_option( dgl_option(BUILD_TYPE "Type of the build: dev, dogfood or release" "dev")
BUILD_TYPE
"Type of the build: dev, dogfood or release"
"dev"
)
message(STATUS "Build for ${BUILD_TYPE}") message(STATUS "Build for ${BUILD_TYPE}")
dgl_option( dgl_option(USE_CUDA "Build with CUDA" OFF)
USE_CUDA dgl_option(TORCH_PYTHON_INTERPS "Python interpreter for building sub-components" python3)
"Build with CUDA"
OFF
)
dgl_option(
TORCH_PYTHON_INTERPS
"Python interpreter used to build tensoradapter and DGL sparse library"
python3
)
# Conda build related options. # Conda build related options.
dgl_option(EXTERNAL_DLPACK_PATH "Path to external dlpack" OFF) dgl_option(EXTERNAL_DLPACK_PATH "Path to external dlpack" OFF)
......
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