Try to improve couchbase compilation
This commit is contained in:
parent
f4e27c9ead
commit
70169700c3
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue