Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chain33-pai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
szh
chain33-pai
Commits
c28a187f
Commit
c28a187f
authored
Jul 22, 2020
by
szh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cp arcm to arch
parent
feb67813
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
15 deletions
+2
-15
Makefile
Makefile
+2
-2
arcm.go
pkg/pai/arcm.go
+0
-13
No files found.
Makefile
View file @
c28a187f
...
@@ -7,7 +7,7 @@ tarfile_x86_64 = $(shell echo "chain33-pai-x86_64_$(version).tar.gz" | sed s/[[:
...
@@ -7,7 +7,7 @@ tarfile_x86_64 = $(shell echo "chain33-pai-x86_64_$(version).tar.gz" | sed s/[[:
all
:
build
all
:
build
arm
:
arm
:
@
GOOS
=
linux
GOARCH
=
arm
GOARM
=
7 go build
-ldflags
"-X chain33-pai/pkg/
app/version
.ArchType=arm "
-v
-o
pai .
@
GOOS
=
linux
GOARCH
=
arm
GOARM
=
7 go build
-ldflags
"-X chain33-pai/pkg/
pai/arch
.ArchType=arm "
-v
-o
pai .
@
echo
$(check)
@
echo
$(check)
@
rm
-rf
chain33-pai
@
rm
-rf
chain33-pai
@
mkdir
chain33-pai
@
mkdir
chain33-pai
...
@@ -23,7 +23,7 @@ arm:
...
@@ -23,7 +23,7 @@ arm:
@
echo
"ok"
@
echo
"ok"
build
:
build
:
@
GOOS
=
linux
GOARCH
=
amd64 go build
-ldflags
"-X chain33-pai/pkg/
app/version
.ArchType=x86_64 "
-v
-o
pai .
@
GOOS
=
linux
GOARCH
=
amd64 go build
-ldflags
"-X chain33-pai/pkg/
pai/arch
.ArchType=x86_64 "
-v
-o
pai .
@
echo
$(check)
@
echo
$(check)
@
rm
-rf
chain33-pai
@
rm
-rf
chain33-pai
@
mkdir
chain33-pai
@
mkdir
chain33-pai
...
...
pkg/pai/arcm.go
deleted
100644 → 0
View file @
feb67813
package
pai
//默认arm架构的树莓派 其他x86_64系统
var
(
ArchType
string
)
func
GetArchType
()
string
{
if
ArchType
!=
""
{
return
ArchType
}
return
"arm"
}
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