Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
5f188058
Commit
5f188058
authored
Jan 11, 2019
by
Leonard Gram
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: builds for armv6.
parent
e43fafd9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
build.go
+3
-0
scripts/build/build-all.sh
+3
-0
scripts/build/build.sh
+2
-0
No files found.
build.go
View file @
5f188058
...
...
@@ -165,6 +165,7 @@ func makeLatestDistCopies() {
".x86_64.rpm"
:
"dist/grafana-latest-1.x86_64.rpm"
,
".linux-amd64.tar.gz"
:
"dist/grafana-latest.linux-x64.tar.gz"
,
".linux-armv7.tar.gz"
:
"dist/grafana-latest.linux-armv7.tar.gz"
,
".linux-armv6.tar.gz"
:
"dist/grafana-latest.linux-armv6.tar.gz"
,
".linux-arm64.tar.gz"
:
"dist/grafana-latest.linux-arm64.tar.gz"
,
}
...
...
@@ -239,6 +240,8 @@ func createDebPackages() {
previousPkgArch
:=
pkgArch
if
pkgArch
==
"armv7"
{
pkgArch
=
"armhf"
}
else
if
pkgArch
==
"armv6"
{
pkgArch
=
"armel"
}
createPackage
(
linuxPackageOptions
{
packageType
:
"deb"
,
...
...
scripts/build/build-all.sh
View file @
5f188058
...
...
@@ -32,10 +32,12 @@ echo "Build arguments: $OPT"
# build only amd64 for enterprise
if
echo
"
$EXTRA_OPTS
"
|
grep
-vq
enterprise
;
then
go run build.go
-goarch
armv6
-cc
${
CCARMV7
}
${
OPT
}
build
go run build.go
-goarch
armv7
-cc
${
CCARMV7
}
${
OPT
}
build
go run build.go
-goarch
arm64
-cc
${
CCARM64
}
${
OPT
}
build
go run build.go
-goos
darwin
-cc
${
CCOSX64
}
${
OPT
}
build
fi
go run build.go
-goos
windows
-cc
${
CCWIN64
}
${
OPT
}
build
# Do not remove CC from the linux build, its there for compatibility with Centos6
...
...
@@ -67,6 +69,7 @@ rm tools/phantomjs/phantomjs
# build only amd64 for enterprise
if
echo
"
$EXTRA_OPTS
"
|
grep
-vq
enterprise
;
then
go run build.go
-goos
linux
-pkg-arch
armv6
${
OPT
}
package-only
go run build.go
-goos
linux
-pkg-arch
armv7
${
OPT
}
package-only
go run build.go
-goos
linux
-pkg-arch
arm64
${
OPT
}
package-only
...
...
scripts/build/build.sh
View file @
5f188058
...
...
@@ -28,6 +28,7 @@ fi
echo
"Build arguments:
$OPT
"
go run build.go
-goarch
armv6
-cc
${
CCARMV7
}
${
OPT
}
build
go run build.go
-goarch
armv7
-cc
${
CCARMV7
}
${
OPT
}
build
go run build.go
-goarch
arm64
-cc
${
CCARM64
}
${
OPT
}
build
...
...
@@ -49,6 +50,7 @@ source /etc/profile.d/rvm.sh
echo
"Packaging"
go run build.go
-goos
linux
-pkg-arch
amd64
${
OPT
}
package-only
go run build.go
-goos
linux
-pkg-arch
armv6
${
OPT
}
package-only
go run build.go
-goos
linux
-pkg-arch
armv7
${
OPT
}
package-only
go run build.go
-goos
linux
-pkg-arch
arm64
${
OPT
}
package-only
...
...
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