Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rustc
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
rustc
Commits
9dc6abc9
Commit
9dc6abc9
authored
Sep 08, 2024
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Should use tmpfs for rustc-home to avoid git timeouts
parent
8a5a8074
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
Makefile
Makefile
+8
-3
No files found.
Makefile
View file @
9dc6abc9
...
...
@@ -6,6 +6,7 @@ all: config-toml
tar
xf
rustc-1.47.0-src.tar.gz
mkdir
rustc-home
mount
-t
tmpfs
-o
size
=
2G tmpfs rustc-home
if
[
`uname
-m`
=
"armv7l"
];
then
\
echo
"$$CONFIG_TOML"
|
sed
"s/TARGET/ARM/"
>
rustc-1.47.0-src/config.toml
;
\
...
...
@@ -24,6 +25,7 @@ all: config-toml
rm
-rf
/lib64
;
\
fi
umount
rustc-home
rm
-rf
rustc-home
rm
-rf
rustc-1.47.0-src
...
...
@@ -38,6 +40,7 @@ temporary:
tar
xf
rustc-1.47.0-src.tar.gz
mkdir
rustc-home
mount
-t
tmpfs
-o
size
=
2G tmpfs rustc-home
if
[
`uname
-m`
=
"armv7l"
];
then
\
echo
"$$CONFIG_TOML"
|
sed
"s/\/usr/\/build\/usr/"
|
sed
"s/TARGET/ARM/"
>
rustc-1.47.0-src/config.toml
;
\
...
...
@@ -64,15 +67,17 @@ temporary:
rm
-rf
/lib64
;
\
fi
swapoff
swap
rm
-rf
swap
echo
"/build/usr/lib"
>>
/etc/ld.so.conf
ldconfig
clean
:
umount rustc-home
rm
-rf
rustc-home
rm
-rf
rustc-1.47.0-src
swapoff
swap
rm
-rf
swap
rm
-rf
/build/usr
rm
-f
/etc/bash_completion.d/cargo
sed
'/^\/build\/usr\/lib/d'
-i
/etc/ld.so.conf
...
...
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