Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
ParaEncode
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
ParaEncode
Commits
d44a5e70
Commit
d44a5e70
authored
May 01, 2022
by
NzSN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build scripts update.
parent
943a16f0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
build-with-docker.sh
build-with-docker.sh
+2
-1
wasm-build.sh
wasm-build.sh
+1
-1
No files found.
build-with-docker.sh
View file @
d44a5e70
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
set
-euo
pipefail
set
-euo
pipefail
EM_VERSION
=
2.0.24
EM_VERSION
=
2.0.24
BUILD_EXTERNAL
=
${
EXTERNAL
:-
false
}
if
[[
"
$(
docker images
-q
emscripten/emsdk:2.0.24 2> /dev/null
)
"
==
""
]]
;
then
if
[[
"
$(
docker images
-q
emscripten/emsdk:2.0.24 2> /dev/null
)
"
==
""
]]
;
then
docker pull emscripten/emsdk:
$EM_VERSION
docker pull emscripten/emsdk:
$EM_VERSION
...
@@ -13,6 +14,6 @@ docker run \
...
@@ -13,6 +14,6 @@ docker run \
-v
$PWD
:/src
\
-v
$PWD
:/src
\
-v
/etc/passwd:/etc/passwd:ro
\
-v
/etc/passwd:/etc/passwd:ro
\
-v
/etc/group:/etc/group:ro
\
-v
/etc/group:/etc/group:ro
\
-e
EXTERNAL
=
$EXTERNAL
\
-e
EXTERNAL
=
"
$BUILD_EXTERNAL
"
\
emscripten/emsdk:
$EM_VERSION
\
emscripten/emsdk:
$EM_VERSION
\
bash ./wasm-build.sh
"
$(
id
-u
)
"
"
$(
id
-g
)
"
"
$@
"
bash ./wasm-build.sh
"
$(
id
-u
)
"
"
$(
id
-g
)
"
"
$@
"
wasm-build.sh
View file @
d44a5e70
#!/bin/bash
#!/bin/bash
#set -e
o pipefail
set
-eux
o
pipefail
WORKPATH
=
$(
cd
$(
dirname
$0
)
;
pwd
)
WORKPATH
=
$(
cd
$(
dirname
$0
)
;
pwd
)
...
...
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