Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mozjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
mozjs
Commits
d11cd52d
Commit
d11cd52d
authored
Mar 16, 2020
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mozjs needs python 2 to for building - added temporary python 2
parent
419e4202
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
Makefile
Makefile
+10
-2
No files found.
Makefile
View file @
d11cd52d
all
:
all
:
python mozjs clean
mozjs
:
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
4096
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
4096
chmod
600 swap
chmod
600 swap
mkswap swap
mkswap swap
...
@@ -6,7 +8,7 @@ all:
...
@@ -6,7 +8,7 @@ all:
tar
xf
mozjs-60.1.0.tar.bz2
tar
xf
mozjs-60.1.0.tar.bz2
mkdir
-p
mozjs-60.1.0/mozjs-build
mkdir
-p
mozjs-60.1.0/mozjs-build
cd
mozjs-60.1.0/mozjs-build
&&
SHELL
=
/bin/bash ../js/src/configure
--prefix
=
/usr
--with-intl-api
--with-system-zlib
--with-system-icu
--disable-jemalloc
--enable-readline
cd mozjs-60.1.0/mozjs-build &&
PATH=/build/usr/bin
:
$$PATH
SHELL=/bin/bash ../js/src/configure --prefix=/usr --with-intl-api --with-system-zlib --with-system-icu --disable-jemalloc --enable-readline
$(MAKE)
-C
mozjs-60.1.0/mozjs-build
SHELL
=
/bin/bash
$(MAKE)
-C
mozjs-60.1.0/mozjs-build
SHELL
=
/bin/bash
strip
--strip-debug
mozjs-60.1.0/mozjs-build/js/src/build/libjs_static.a
strip
--strip-debug
mozjs-60.1.0/mozjs-build/js/src/build/libjs_static.a
strip
--strip-debug
mozjs-60.1.0/mozjs-build/js/src/build/libmozjs-60.so
strip
--strip-debug
mozjs-60.1.0/mozjs-build/js/src/build/libmozjs-60.so
...
@@ -15,3 +17,9 @@ all:
...
@@ -15,3 +17,9 @@ all:
swapoff
swap
swapoff
swap
rm
-rf
swap
rm
-rf
swap
python
:
$(MAKE)
-C
../python temporary
clean
:
$(MAKE)
-C
../python clean
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