Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
9a6fcd9e
Commit
9a6fcd9e
authored
Oct 30, 2020
by
Jerome Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix github workflow
parent
e075c066
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
build-x265.sh
wasm/build-scripts/build-x265.sh
+2
-9
No files found.
wasm/build-scripts/build-x265.sh
View file @
9a6fcd9e
...
...
@@ -27,6 +27,7 @@ FLAGS_10BIT=(
FLAGS_MAIN
=(
${
BASE_FLAGS
[@]
}
-DCMAKE_INSTALL_PREFIX
=
$BUILD_DIR
-DEXTRA_LIB
=
"x265_main10.a;x265_main12.a"
-DEXTRA_LINK_FLAGS
=
-L
.
-DLINKED_10BIT
=
ON
...
...
@@ -51,7 +52,7 @@ cd ../main
ln
-sf
../10bit/libx265.a libx265_main10.a
ln
-sf
../12bit/libx265.a libx265_main12.a
emmake cmake ../..
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
${
FLAGS_MAIN
[@]
}
emmake make
-j
emmake make
install
-j
mv
libx265.a libx265_main.a
...
...
@@ -65,14 +66,6 @@ SAVE
END
EOF
# Copy files to build directory
mkdir
-p
$BUILD_DIR
mkdir
-p
$BUILD_DIR
/include
mkdir
-p
$BUILD_DIR
/lib
mkdir
-p
$BUILD_DIR
/lib/pkgconfig
cp
x265_config.h
$BUILD_DIR
/include
cp
../../x265.h
$BUILD_DIR
/include
cp
libx265.a
$BUILD_DIR
/lib
cp
x265.pc
$BUILD_DIR
/lib/pkgconfig
cd
$ROOT_DIR
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment