Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
exchain
nebula
Commits
48513d69
Commit
48513d69
authored
3 years ago
by
George Hotz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meh, almost building maybe
parent
da0007d2
develop
exchain
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
build.sh
risc/build.sh
+1
-1
clangwrap.sh
risc/clangwrap.sh
+11
-4
No files found.
risc/build.sh
View file @
48513d69
...
...
@@ -8,7 +8,7 @@ export GOMIPS=softfloat
#export CGO_ENABLED=1
#export CC="$PWD/../risc/clangwrap.sh"
go build
go build
-v
cp
go-ethereum ../risc/go-ethereum
cd
../risc
file go-ethereum
...
...
This diff is collapsed.
Click to expand it.
risc/clangwrap.sh
View file @
48513d69
#!/bin/bash
export
PATH
=
"/usr/local/opt/llvm/bin:
$PATH
"
echo
"ARGS"
$@
1>&2
clang
$@
-lc
-target
mips-linux-gnu
--sysroot
/Users/kafka/fun/mips/sysroot
-fuse-ld
=
lld
-Wno-error
-nostdlib
export
PATH
=
"/usr/local/opt/llvm/bin"
for
arg
do
shift
[
"
$arg
"
==
"-g"
]
&&
continue
#[ "$arg" == "-lpthread" ] && continue
[
"
$arg
"
==
"-Werror"
]
&&
continue
#[ "$arg" == "-msoft-float" ] && continue
set
--
"
$@
"
"
$arg
"
done
#echo "ARGS" $@ 1>&2
exec
clang
-lc
-target
mips-linux-gnu
--sysroot
/Users/kafka/fun/mips/sysroot
-fuse-ld
=
lld
-Wno-error
-nostdlib
"
$@
"
This diff is collapsed.
Click to expand it.
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