Skip to content

Commit ae655a3

Browse files
committed
Remove coroutines flag from proxygen to match velox
1 parent 1360ea6 commit ae655a3

File tree

8 files changed

+12
-23
lines changed

8 files changed

+12
-23
lines changed

.github/workflows/arrow-flight-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
prestocpp-linux-build-for-test:
6161
runs-on: ubuntu-22.04
6262
container:
63-
image: prestodb/presto-native-dependency:0.292-20250204112033-cf8ba84
63+
image: prestodb/presto-native-dependency:0.297-202601221815-dcf69f00
6464
concurrency:
6565
group: ${{ github.workflow }}-prestocpp-linux-build-for-test-${{ github.event.pull_request.number }}
6666
cancel-in-progress: true
@@ -154,7 +154,7 @@ jobs:
154154
needs: prestocpp-linux-build-for-test
155155
runs-on: ubuntu-22.04
156156
container:
157-
image: prestodb/presto-native-dependency:0.292-20250204112033-cf8ba84
157+
image: prestodb/presto-native-dependency:0.297-202601221815-dcf69f00
158158
env:
159159
INSTALL_PREFIX: "${{ github.workspace }}/adapter-deps/install"
160160
strategy:

.github/workflows/prestocpp-linux-adapters-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
prestocpp-linux-adapters-build:
1212
runs-on: ubuntu-22.04
1313
container:
14-
image: prestodb/presto-native-dependency:0.297-202512180933-75d7d4ea
14+
image: prestodb/presto-native-dependency:0.297-202601221815-dcf69f00
1515
concurrency:
1616
group: ${{ github.workflow }}-prestocpp-linux-adapters-build-${{ github.event.pull_request.number }}
1717
cancel-in-progress: true

.github/workflows/prestocpp-linux-build-and-unit-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-22.04
3131
needs: changes
3232
container:
33-
image: prestodb/presto-native-dependency:0.297-202512180933-75d7d4ea
33+
image: prestodb/presto-native-dependency:0.297-202601221815-dcf69f00
3434
concurrency:
3535
group: ${{ github.workflow }}-prestocpp-linux-build-test-${{ github.event.pull_request.number }}
3636
cancel-in-progress: true
@@ -135,7 +135,7 @@ jobs:
135135
needs: [changes, prestocpp-linux-build-for-test]
136136
runs-on: ubuntu-22.04
137137
container:
138-
image: prestodb/presto-native-dependency:0.297-202512180933-75d7d4ea
138+
image: prestodb/presto-native-dependency:0.297-202601221815-dcf69f00
139139
volumes:
140140
- /usr:/host_usr
141141
- /opt:/host_opt
@@ -260,7 +260,7 @@ jobs:
260260
storage-format: [PARQUET, DWRF]
261261
enable-sidecar: [true, false]
262262
container:
263-
image: prestodb/presto-native-dependency:0.297-202512180933-75d7d4ea
263+
image: prestodb/presto-native-dependency:0.297-202601221815-dcf69f00
264264
volumes:
265265
- /usr:/host_usr
266266
- /opt:/host_opt
@@ -388,7 +388,7 @@ jobs:
388388
group: ${{ github.workflow }}-prestocpp-linux-presto-on-spark-e2e-tests-${{ matrix.storage-format }}-${{ matrix.enable-sidecar }}-${{ github.event.pull_request.number }}
389389
cancel-in-progress: true
390390
container:
391-
image: prestodb/presto-native-dependency:0.297-202512180933-75d7d4ea
391+
image: prestodb/presto-native-dependency:0.297-202601221815-dcf69f00
392392
volumes:
393393
- /usr:/host_usr
394394
- /opt:/host_opt
@@ -501,7 +501,7 @@ jobs:
501501
needs: [changes, prestocpp-linux-build-for-test]
502502
runs-on: ubuntu-22.04
503503
container:
504-
image: prestodb/presto-native-dependency:0.297-202512180933-75d7d4ea
504+
image: prestodb/presto-native-dependency:0.297-202601221815-dcf69f00
505505
volumes:
506506
- /usr:/host_usr
507507
- /opt:/host_opt
@@ -613,7 +613,7 @@ jobs:
613613
needs: [changes, prestocpp-linux-build-for-test]
614614
runs-on: ubuntu-22.04
615615
container:
616-
image: prestodb/presto-native-dependency:0.297-202512180933-75d7d4ea
616+
image: prestodb/presto-native-dependency:0.297-202601221815-dcf69f00
617617
volumes:
618618
- /usr:/host_usr
619619
- /opt:/host_opt

.github/workflows/prestocpp-linux-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
contents: read
2727
needs: changes
2828
container:
29-
image: prestodb/presto-native-dependency:0.297-202512180933-75d7d4ea
29+
image: prestodb/presto-native-dependency:0.297-202601221815-dcf69f00
3030
volumes:
3131
- /usr:/host_usr
3232
- /opt:/host_opt

presto-native-execution/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,8 @@ option(PRESTO_ENABLE_ARROW_FLIGHT_CONNECTOR "Enable Arrow Flight connector" OFF)
7777

7878
option(PRESTO_ENABLE_SPATIAL "Enable spatial support" ON)
7979

80-
# Set all Velox options below and make sure that if we include folly headers or
81-
# other dependency headers that include folly headers we turn off the coroutines
82-
# and turn on int128.
83-
add_compile_definitions(FOLLY_HAVE_INT128_T=1 FOLLY_CFG_NO_COROUTINES)
80+
# Turn on folly int128 support.
81+
add_compile_definitions(FOLLY_HAVE_INT128_T=1)
8482

8583
set(VELOX_ENABLE_S3 ${PRESTO_ENABLE_S3} CACHE BOOL "Build S3 support")
8684

presto-native-execution/scripts/setup-centos.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ function install_gperf {
5454

5555
function install_proxygen {
5656
wget_and_untar https://github.com/facebook/proxygen/archive/refs/tags/${FB_OS_VERSION}.tar.gz proxygen
57-
# Folly Portability.h being used to decide whether or not support coroutines
58-
# causes issues (build, lin) if the selection is not consistent across users of folly.
59-
EXTRA_PKG_CXXFLAGS=" -DFOLLY_CFG_NO_COROUTINES"
6057
cmake_install_dir proxygen -DBUILD_TESTS=OFF -DBUILD_SHARED_LIBS=ON
6158
}
6259

presto-native-execution/scripts/setup-macos.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ DATASKETCHES_VERSION="5.2.0"
2828

2929
function install_proxygen {
3030
wget_and_untar https://github.com/facebook/proxygen/archive/refs/tags/${FB_OS_VERSION}.tar.gz proxygen
31-
# Folly Portability.h being used to decide whether or not support coroutines
32-
# causes issues (build, lin) if the selection is not consistent across users of folly.
33-
EXTRA_PKG_CXXFLAGS=" -DFOLLY_CFG_NO_COROUTINES"
3431
cmake_install_dir proxygen -DBUILD_TESTS=OFF
3532
}
3633

presto-native-execution/scripts/setup-ubuntu.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ function install_proxygen {
2626
${SUDO} apt update
2727
${SUDO} apt install -y gperf python3
2828
wget_and_untar https://github.com/facebook/proxygen/archive/refs/tags/${FB_OS_VERSION}.tar.gz proxygen
29-
# Folly Portability.h being used to decide whether or not support coroutines
30-
# causes issues (build, lin) if the selection is not consistent across users of folly.
31-
EXTRA_PKG_CXXFLAGS=" -DFOLLY_CFG_NO_COROUTINES"
3229
cmake_install_dir proxygen -DBUILD_TESTS=OFF
3330
}
3431

0 commit comments

Comments
 (0)