Skip to content

Commit 36bed82

Browse files
authored
properly build cpp wheels (#51452)
cherrypick #51450 Signed-off-by: Lonnie Liu <[email protected]>
1 parent f468b3e commit 36bed82

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333

3434
ROOT_DIR = os.path.dirname(__file__)
3535
BUILD_JAVA = os.getenv("RAY_INSTALL_JAVA") == "1"
36-
BUILD_CPP = os.getenv("RAY_INSTALL_CPP") == "1"
3736
SKIP_BAZEL_BUILD = os.getenv("SKIP_BAZEL_BUILD") == "1"
3837
BAZEL_ARGS = os.getenv("BAZEL_ARGS")
3938
BAZEL_LIMIT_CPUS = os.getenv("BAZEL_LIMIT_CPUS")
@@ -702,7 +701,7 @@ def pip_run(build_ext):
702701
if SKIP_BAZEL_BUILD:
703702
build(False, False, False)
704703
else:
705-
build(True, BUILD_JAVA, BUILD_CPP or BUILD_JAVA)
704+
build(True, BUILD_JAVA, True)
706705

707706
if setup_spec.type == SetupType.RAY:
708707
setup_spec.files_to_include += ray_files

0 commit comments

Comments
 (0)