summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-30 20:14:50 +0200
committerRemi Collet <fedora@famillecollet.com>2014-03-30 20:14:50 +0200
commit5c41bc7da83cee39835c0e68a6bffce369a7fcdc (patch)
treea35075b55996c627701cd12726300e6c9d6e3d3a
parent72f7a4fe7f2c66ed303e5d3bfb14556912428779 (diff)
php-pecl-qb: link to qb.ini
-rw-r--r--php-pecl-qb.spec2
-rw-r--r--qb.ini40
2 files changed, 41 insertions, 1 deletions
diff --git a/php-pecl-qb.spec b/php-pecl-qb.spec
index 3f62e82..fe61e15 100644
--- a/php-pecl-qb.spec
+++ b/php-pecl-qb.spec
@@ -33,7 +33,7 @@ URL: http://pecl.php.net/package/%{pecl_name}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}.tar.gz
%else
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-Source1: qb.ini
+Source1: https://raw.githubusercontent.com/chung-leong/qb/%{version}/qb.ini
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
diff --git a/qb.ini b/qb.ini
new file mode 100644
index 0000000..4b2c5f0
--- /dev/null
+++ b/qb.ini
@@ -0,0 +1,40 @@
+extension=qb.so
+
+[qb]
+; Indicates whether the use of memory-mapped file is permitted
+qb.allow_memory_map=On
+
+; Indicates whether bytecode interpretation is permitted
+qb.allow_bytecode_interpretation=On
+
+; Indicates whether compilation to native code is permitted
+qb.allow_native_compilation=Off
+
+; Tells QB to compile functions to native code
+qb.compile_to_native=Off
+
+; Sets the path to the folder where native code object files are stored
+; The default is the operation system's temporary folder
+qb.native_code_cache_path=
+
+; Sets the path to the C compiler
+; The default is "gcc" on Unix and "cl.exe" on Windows
+qb.compiler_path=
+
+; Sets the PATH environment for compiler
+qb.compiler_env_path=
+
+; Allows debug_backtrace() to see QB function calls
+qb.allow_debug_backtrace=Off
+
+; Allows xdebug to see variables inside QB functions
+qb.allow_debugger_inspection=On
+
+; Specifies whether QB should always send the variable type or not
+qb.debug_with_exact_type=Off
+
+; Whether to use column-major matrix convention instead of row-major
+qb.column_major_matrix=Off
+
+; The number of execution threads (0 means the number of CPU on the system)
+qb.thread_count=0