mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 13:23:05 +07:00
Try to improve couchbase compilation
This commit is contained in:
parent
f4e27c9ead
commit
70169700c3
@ -55,6 +55,9 @@ add_couchbase() {
|
|||||||
else
|
else
|
||||||
if [ "$ext" = "couchbase" ]; then
|
if [ "$ext" = "couchbase" ]; then
|
||||||
ext="couchbase-$(get_pecl_version "couchbase" "stable")"
|
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
|
add_extension_from_source couchbase https://pecl.php.net couchbase couchbase "${ext##*-}" extension pecl >/dev/null 2>&1
|
||||||
else
|
else
|
||||||
pecl_install "${ext}" >/dev/null 2>&1
|
pecl_install "${ext}" >/dev/null 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user