Skip to content

Commit

Permalink
Try to improve couchbase compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Oct 30, 2023
1 parent f4e27c9 commit 7016970
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scripts/extensions/couchbase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ add_couchbase() {
else
if [ "$ext" = "couchbase" ]; then
ext="couchbase-$(get_pecl_version "couchbase" "stable")"
n_proc="$(nproc)"
export COUCHBASE_SUFFIX_OPTS="CMAKE_BUILD_TYPE=Release"
export CMAKE_BUILD_PARALLEL_LEVEL="$n_proc"
add_extension_from_source couchbase https://pecl.php.net couchbase couchbase "${ext##*-}" extension pecl >/dev/null 2>&1
else
pecl_install "${ext}" >/dev/null 2>&1
Expand Down

0 comments on commit 7016970

Please sign in to comment.