-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #310 from jingjingxyk/experiment_v4.8.x
同步 Experiment 分支
- Loading branch information
Showing
24 changed files
with
469 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# 快速启动容器环境 | ||
# 快速准备基于容器的构建环境 | ||
|
||
> 提供了 debian 11 构建 和 alpine 构建环境 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
|
||
use SwooleCli\Library; | ||
use SwooleCli\Preprocessor; | ||
|
||
return function (Preprocessor $p) { | ||
$aom_prefix = AOM_PREFIX; | ||
$lib = new Library('aom'); | ||
$lib->withHomePage('https://aomedia.googlesource.com/aom') | ||
->withLicense('https://aomedia.googlesource.com/aom/+/refs/heads/main/LICENSE', Library::LICENSE_SPEC) | ||
->withManual('https://aomedia.googlesource.com/aom') | ||
->withUrl('https://aomedia.googlesource.com/aom') | ||
->withFile('aom-v3.6.1.tar.gz') | ||
->withDownloadScript( | ||
'aom', | ||
<<<EOF | ||
git clone -b v3.6.1 --depth=1 https://aomedia.googlesource.com/aom | ||
EOF | ||
) | ||
->withPrefix($aom_prefix) | ||
->withBuildLibraryCached(true) | ||
->withCleanBuildDirectory() | ||
->withCleanPreInstallDirectory($aom_prefix) | ||
->withConfigure( | ||
<<<EOF | ||
mkdir -p build_dir | ||
cd build_dir | ||
cmake .. \ | ||
-DCMAKE_INSTALL_PREFIX={$aom_prefix} \ | ||
-DCMAKE_C_STANDARD=11 \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_C_STANDARD=11 \ | ||
-DBUILD_SHARED_LIBS=OFF \ | ||
-DBUILD_STATIC_LIBS=ON \ | ||
-DENABLE_DOCS=OFF \ | ||
-DENABLE_EXAMPLES=OFF \ | ||
-DENABLE_TESTS=OFF \ | ||
-DENABLE_TOOLS=ON | ||
EOF | ||
) | ||
->withBinPath($aom_prefix . '/bin/') | ||
->withPkgName('aom'); | ||
|
||
$p->addLibrary($lib); | ||
}; |
Oops, something went wrong.