Skip to content

Commit ba72103

Browse files
authored
Revert "[core] Don't build cpp api on pip install (#50499)" (#51450)
We need to revert this because the ray-cpp wheel does not build as expected with this change. Signed-off-by: dayshah <dhyey2019@gmail.com>
1 parent 6165021 commit ba72103

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/setup.py

Lines changed: 1 addition & 2 deletions
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)