Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit 046686f

Browse files
committed
1 parent 52c8758 commit 046686f

File tree

2 files changed

+22
-20
lines changed

2 files changed

+22
-20
lines changed

docs/en/guide/env-vars.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ SPC_CONCURRENCY=4 bin/spc build mbstring,pcntl --build-cli
2626

2727
General environment variables can be used by all build targets.
2828

29-
| var name | default value | comment |
30-
|----------------------|---------------------------|-------------------------------------------------|
31-
| `BUILD_ROOT_PATH` | `{pwd}/buildroot` | The root directory of the build target |
32-
| `BUILD_LIB_PATH` | `{pwd}/buildroot/lib` | The root directory of compilation libraries |
33-
| `BUILD_INCLUDE_PATH` | `{pwd}/buildroot/include` | Header file directory for compiling libraries |
34-
| `BUILD_BIN_PATH` | `{pwd}/buildroot/bin` | Compiled binary file directory |
35-
| `PKG_ROOT_PATH` | `{pwd}/pkgroot` | Directory where precompiled tools are installed |
36-
| `SOURCE_PATH` | `{pwd}/source` | The source code extract directory |
37-
| `DOWNLOAD_PATH` | `{pwd}/downloads` | Downloaded file directory |
38-
| `SPC_CONCURRENCY` | Depends on CPU cores | Number of parallel compilations |
29+
| var name | default value | comment |
30+
|------------------------------|---------------------------|-------------------------------------------------|
31+
| `BUILD_ROOT_PATH` | `{pwd}/buildroot` | The root directory of the build target |
32+
| `BUILD_LIB_PATH` | `{pwd}/buildroot/lib` | The root directory of compilation libraries |
33+
| `BUILD_INCLUDE_PATH` | `{pwd}/buildroot/include` | Header file directory for compiling libraries |
34+
| `BUILD_BIN_PATH` | `{pwd}/buildroot/bin` | Compiled binary file directory |
35+
| `PKG_ROOT_PATH` | `{pwd}/pkgroot` | Directory where precompiled tools are installed |
36+
| `SOURCE_PATH` | `{pwd}/source` | The source code extract directory |
37+
| `DOWNLOAD_PATH` | `{pwd}/downloads` | Downloaded file directory |
38+
| `SPC_CONCURRENCY` | Depends on CPU cores | Number of parallel compilations |
39+
| `SPC_SKIP_PHP_VERSION_CHECK` | empty | Skip PHP version check when set to `yes` |
3940

4041
## OS specific variables
4142

docs/zh/guide/env-vars.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,17 @@ SPC_CONCURRENCY=4 bin/spc build mbstring,pcntl --build-cli
2424

2525
通用环境变量是所有构建目标都可以使用的环境变量。
2626

27-
| var name | default value | comment |
28-
|----------------------|---------------------------|------------------|
29-
| `BUILD_ROOT_PATH` | `{pwd}/buildroot` | 编译目标的根目录 |
30-
| `BUILD_LIB_PATH` | `{pwd}/buildroot/lib` | 编译依赖库的根目录 |
31-
| `BUILD_INCLUDE_PATH` | `{pwd}/buildroot/include` | 编译依赖库的头文件目录 |
32-
| `BUILD_BIN_PATH` | `{pwd}/buildroot/bin` | 编译依赖库的二进制文件目录 |
33-
| `PKG_ROOT_PATH` | `{pwd}/pkgroot` | 闭源或预编译工具下载后安装的目录 |
34-
| `SOURCE_PATH` | `{pwd}/source` | 编译项目的源码解压缩目录 |
35-
| `DOWNLOAD_PATH` | `{pwd}/downloads` | 下载的文件存放目录 |
36-
| `SPC_CONCURRENCY` | 取决于当前 CPU 核心数量 | 并行编译的数量 |
27+
| var name | default value | comment |
28+
|------------------------------|---------------------------|-----------------------------|
29+
| `BUILD_ROOT_PATH` | `{pwd}/buildroot` | 编译目标的根目录 |
30+
| `BUILD_LIB_PATH` | `{pwd}/buildroot/lib` | 编译依赖库的根目录 |
31+
| `BUILD_INCLUDE_PATH` | `{pwd}/buildroot/include` | 编译依赖库的头文件目录 |
32+
| `BUILD_BIN_PATH` | `{pwd}/buildroot/bin` | 编译依赖库的二进制文件目录 |
33+
| `PKG_ROOT_PATH` | `{pwd}/pkgroot` | 闭源或预编译工具下载后安装的目录 |
34+
| `SOURCE_PATH` | `{pwd}/source` | 编译项目的源码解压缩目录 |
35+
| `DOWNLOAD_PATH` | `{pwd}/downloads` | 下载的文件存放目录 |
36+
| `SPC_CONCURRENCY` | 取决于当前 CPU 核心数量 | 并行编译的数量 |
37+
| `SPC_SKIP_PHP_VERSION_CHECK` || 设置为 `yes` 时,跳过扩展对 PHP 版本的检查 |
3738

3839
## 系统特定变量
3940

0 commit comments

Comments
 (0)