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
da0007d2
Commit
da0007d2
authored
Oct 05, 2021
by
George Hotz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clangwrap
parent
ed02ca54
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
build.sh
risc/build.sh
+1
-2
clangwrap.sh
risc/clangwrap.sh
+5
-0
No files found.
risc/build.sh
View file @
da0007d2
...
...
@@ -6,8 +6,7 @@ export GOMIPS=softfloat
# brew install llvm
#export CGO_ENABLED=1
#export CC="/usr/local/opt/llvm/bin/clang -target mips-linux-gnu --sysroot /Users/kafka/build/cannon/risc/sysroot/"
#export CC="/Users/kafka/fun/mips/mips-gcc-4.8.1/bin/mips-elf-gcc"
#export CC="$PWD/../risc/clangwrap.sh"
go build
cp
go-ethereum ../risc/go-ethereum
...
...
risc/clangwrap.sh
0 → 100755
View file @
da0007d2
#!/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
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