Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions concourse/pipeline/build_release_tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
BUILD_TYPE: RelWithDebInfo
DATA_STORE_TYPE: ELOQDSS_ROCKSDB_CLOUD_S3
CLOUDFRONT_DIST: ((cloudfront-dist))
privileged: true

- task: build-eloqdss-rocksdb-type
file: eloqsql_src/concourse/tasks/build_release_tarball.yml
Expand All @@ -84,6 +85,7 @@ jobs:
BUILD_TYPE: RelWithDebInfo
DATA_STORE_TYPE: ELOQDSS_ROCKSDB
CLOUDFRONT_DIST: ((cloudfront-dist))
privileged: true

- task: build-eloqstore-type
file: eloqsql_src/concourse/tasks/build_release_tarball.yml
Expand All @@ -98,6 +100,7 @@ jobs:
BUILD_TYPE: RelWithDebInfo
DATA_STORE_TYPE: ELOQDSS_ELOQSTORE
CLOUDFRONT_DIST: ((cloudfront-dist))
privileged: true

serial: true

Expand Down Expand Up @@ -128,6 +131,7 @@ jobs:
BUILD_TYPE: RelWithDebInfo
DATA_STORE_TYPE: ELOQDSS_ROCKSDB_CLOUD_S3
CLOUDFRONT_DIST: ((cloudfront-dist))
privileged: true

- task: build-eloqdss-rocksdb-type
file: eloqsql_src/concourse/tasks/build_release_tarball.yml
Expand All @@ -142,6 +146,7 @@ jobs:
BUILD_TYPE: RelWithDebInfo
DATA_STORE_TYPE: ELOQDSS_ROCKSDB
CLOUDFRONT_DIST: ((cloudfront-dist))
privileged: true

- task: build-eloqstore-type
file: eloqsql_src/concourse/tasks/build_release_tarball.yml
Expand All @@ -156,6 +161,7 @@ jobs:
BUILD_TYPE: RelWithDebInfo
DATA_STORE_TYPE: ELOQDSS_ELOQSTORE
CLOUDFRONT_DIST: ((cloudfront-dist))
privileged: true

serial: true

Expand Down Expand Up @@ -186,6 +192,7 @@ jobs:
BUILD_TYPE: RelWithDebInfo
DATA_STORE_TYPE: ELOQDSS_ROCKSDB_CLOUD_S3
CLOUDFRONT_DIST: ((cloudfront-dist))
privileged: true

- task: build-eloqdss-rocksdb-type
file: eloqsql_src/concourse/tasks/build_release_tarball.yml
Expand All @@ -200,6 +207,7 @@ jobs:
BUILD_TYPE: RelWithDebInfo
DATA_STORE_TYPE: ELOQDSS_ROCKSDB
CLOUDFRONT_DIST: ((cloudfront-dist))
privileged: true

- task: build-eloqstore-type
file: eloqsql_src/concourse/tasks/build_release_tarball.yml
Expand All @@ -214,6 +222,7 @@ jobs:
BUILD_TYPE: RelWithDebInfo
DATA_STORE_TYPE: ELOQDSS_ELOQSTORE
CLOUDFRONT_DIST: ((cloudfront-dist))
privileged: true

serial: true

Expand Down Expand Up @@ -244,6 +253,7 @@ jobs:
BUILD_TYPE: RelWithDebInfo
DATA_STORE_TYPE: ELOQDSS_ROCKSDB_CLOUD_S3
CLOUDFRONT_DIST: ((cloudfront-dist))
privileged: true

- task: build-eloqdss-rocksdb-type
file: eloqsql_src/concourse/tasks/build_release_tarball.yml
Expand All @@ -258,6 +268,7 @@ jobs:
BUILD_TYPE: RelWithDebInfo
DATA_STORE_TYPE: ELOQDSS_ROCKSDB
CLOUDFRONT_DIST: ((cloudfront-dist))
privileged: true

- task: build-eloqstore-type
file: eloqsql_src/concourse/tasks/build_release_tarball.yml
Expand All @@ -272,5 +283,6 @@ jobs:
BUILD_TYPE: RelWithDebInfo
DATA_STORE_TYPE: ELOQDSS_ELOQSTORE
CLOUDFRONT_DIST: ((cloudfront-dist))
privileged: true

serial: true
9 changes: 9 additions & 0 deletions concourse/scripts/build_tarball.bash
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ ln -s $WORKSPACE/raft_host_manager_src raft_host_manager
popd
ELOQSQL_SRC=${PWD}

export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64:$LD_LIBRARY_PATH

# Get OS information from /etc/os-release
source /etc/os-release
if [[ "$ID" == "centos" ]] || [[ "$ID" == "rocky" ]]; then
Expand Down Expand Up @@ -117,6 +119,12 @@ else
exit 1
fi

if [ "$ID" == "centos" ];then
IOURING_ENABLED="OFF"
else
IOURING_ENABLED="ON"
fi

if [ "$ASAN" = "ON" ]; then
export ASAN_OPTIONS=abort_on_error=1:detect_container_overflow=0:leak_check_at_exit=0
fi
Expand Down Expand Up @@ -189,6 +197,7 @@ cmake -DCMAKE_INSTALL_PREFIX="${DEST_DIR}" \
-DSTATISTICS=ON \
-DWITH_DATA_STORE=${DATA_STORE_TYPE} \
${CMAKE_ARGS} \
-DIOURING_ENABLED=${IOURING_ENABLED} \
-DOPEN_LOG_SERVICE=OFF \
-DFORK_HM_PROCESS=ON \
../
Expand Down
2 changes: 1 addition & 1 deletion storage/eloq/tx_service