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
3b99c1d7
Commit
3b99c1d7
authored
Feb 21, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
Makefile
Makefile
+49
-0
rustc-1.47.0-src.tar.gz
rustc-1.47.0-src.tar.gz
+0
-0
No files found.
Makefile
0 → 100644
View file @
3b99c1d7
all
:
config-toml
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
2048
chmod
600 swap
mkswap swap
swapon swap
tar
xf
rustc-1.47.0-src.tar.gz
mkdir
rustc-home
if
[
`uname
-m`
=
"armv7l"
];
then
\
echo
"$$CONFIG_TOML"
|
sed
"s/TARGET/ARM/"
>
rustc-1.47.0-src/config.toml
;
\
elif
[
`uname
-m`
=
"aarch64"
];
then
\
echo
"$$CONFIG_TOML"
|
sed
"s/TARGET/AArch64/"
>
rustc-1.47.0-src/config.toml
;
\
else
\
echo
"$$CONFIG_TOML"
|
sed
"s/TARGET/X86/"
>
rustc-1.47.0-src/config.toml
;
\
fi
cd
rustc-1.47.0-src
&&
HOME
=
$(CURDIR)
/rustc-home python3 ./x.py build
-cd
rustc-1.47.0-src
&&
HOME
=
$(CURDIR)
/rustc-home python3 ./x.py
test
--verbose
--no-fail-fast
cd
rustc-1.47.0-src
&&
HOME
=
$(CURDIR)
/rustc-home python3 ./x.py
install
rm
-rf
rustc-home
rm
-rf
rustc-1.47.0-src
swapoff
swap
rm
-rf
swap
config-toml
:
define
CONFIG_TOML
[llvm]
targets
=
"TARGET"
# When using system llvm prefer shared libraries
link-shared
=
true
[build]
# omit docs to save time and space (default is to build them)
docs
=
false
# install cargo as well as rust
extended
=
true
[install]
prefix
=
"/usr"
docdir
=
"share/doc/rustc-1.47.0"
[rust]
channel
=
"stable"
rpath
=
false
codegen-tests
=
false
endef
CONFIG_TOML
export
CONFIG_TOML
rustc-1.47.0-src.tar.gz
0 → 100644
View file @
3b99c1d7
File added
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