mirror of
https://github.com/vale981/ray
synced 2025-03-04 17:41:43 -05:00
[ray] Update cpp to std14 (#14441)
This commit is contained in:
parent
4e8b53b3d0
commit
ad8e35b919
4 changed files with 5 additions and 5 deletions
2
.bazelrc
2
.bazelrc
|
@ -7,7 +7,7 @@ build --enable_platform_specific_config
|
|||
build --action_env=PATH
|
||||
# For --compilation_mode=dbg, consider enabling checks in the standard library as well (below).
|
||||
build --compilation_mode=opt
|
||||
#build --cxxopt="-std=c++11"
|
||||
build --cxxopt="-std=c++14"
|
||||
# This workaround is needed to prevent Bazel from compiling the same file twice (once PIC and once not).
|
||||
build:linux --force_pic
|
||||
build:macos --force_pic
|
||||
|
|
|
@ -187,7 +187,7 @@ matrix:
|
|||
- brew install --cask adoptopenjdk8
|
||||
- export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
|
||||
- java -version
|
||||
- . ./ci/travis/ci.sh build
|
||||
- ./ci/keep_alive bash ./ci/travis/ci.sh build
|
||||
script:
|
||||
- . ./ci/travis/ci.sh test_wheels
|
||||
- bash ./java/build-jar-multiplatform.sh darwin
|
||||
|
|
|
@ -5,7 +5,7 @@ PID=$$
|
|||
|
||||
# Print output to avoid travis killing us
|
||||
watchdog() {
|
||||
for i in $(seq 2 2 150); do
|
||||
for i in $(seq 2 2 500); do
|
||||
sleep 120
|
||||
echo "(running, ${i}m total)"
|
||||
done
|
||||
|
|
|
@ -1539,10 +1539,10 @@ Status CoreWorker::CreateActor(const RayFunction &function,
|
|||
// Add the actor handle before we submit the actor creation task, since the
|
||||
// actor handle must be in scope by the time the GCS sends the
|
||||
// WaitForActorOutOfScopeRequest.
|
||||
std::unique_ptr<ActorHandle> actor_handle(new ActorHandle(
|
||||
auto actor_handle = std::make_unique<ActorHandle>(
|
||||
actor_id, GetCallerId(), rpc_address_, job_id, /*actor_cursor=*/return_ids[0],
|
||||
function.GetLanguage(), function.GetFunctionDescriptor(), extension_data,
|
||||
actor_creation_options.max_task_retries));
|
||||
actor_creation_options.max_task_retries);
|
||||
RAY_CHECK(actor_manager_->AddNewActorHandle(std::move(actor_handle), GetCallerId(),
|
||||
CurrentCallSite(), rpc_address_,
|
||||
actor_creation_options.is_detached))
|
||||
|
|
Loading…
Add table
Reference in a new issue