From 454fd918908178986220850c7b88b128d2fcf41c Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Mon, 12 Nov 2018 13:25:55 +0100 Subject: [PATCH] Maintenance updates. (#86) * Add gcc go build tags. * Update Travis. * Fix typo --- .travis.yml | 4 ++-- examples/simple-decoder.go | 2 +- examples/simple-encoder.go | 2 +- galois_amd64.go | 1 + galois_amd64.s | 2 +- galois_arm64.go | 1 + galois_arm64.s | 2 +- galois_noasm.go | 4 ++-- 8 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index f71fcb4..aabc79d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,9 @@ os: - osx go: - - 1.7.x - - 1.8.x - 1.9.x + - 1.10.x + - 1.11.x - master install: diff --git a/examples/simple-decoder.go b/examples/simple-decoder.go index 510c5ed..c251104 100644 --- a/examples/simple-decoder.go +++ b/examples/simple-decoder.go @@ -11,7 +11,7 @@ // go build simple-decoder.go // // Simple Encoder/Decoder Shortcomings: -// * If the file size of the input isn't diviable by the number of data shards +// * If the file size of the input isn't divisible by the number of data shards // the output will contain extra zeroes // // * If the shard numbers isn't the same for the decoder as in the diff --git a/examples/simple-encoder.go b/examples/simple-encoder.go index 89e3af9..8232681 100644 --- a/examples/simple-encoder.go +++ b/examples/simple-encoder.go @@ -12,7 +12,7 @@ // go build simple-decoder.go // // Simple Encoder/Decoder Shortcomings: -// * If the file size of the input isn't diviable by the number of data shards +// * If the file size of the input isn't divisible by the number of data shards // the output will contain extra zeroes // // * If the shard numbers isn't the same for the decoder as in the diff --git a/galois_amd64.go b/galois_amd64.go index aeebdbb..2c719f5 100644 --- a/galois_amd64.go +++ b/galois_amd64.go @@ -1,5 +1,6 @@ //+build !noasm //+build !appengine +//+build !gccgo // Copyright 2015, Klaus Post, see LICENSE for details. diff --git a/galois_amd64.s b/galois_amd64.s index 8a294c1..b768028 100644 --- a/galois_amd64.s +++ b/galois_amd64.s @@ -1,4 +1,4 @@ -//+build !noasm !appengine +//+build !noasm !appengine !gccgo // Copyright 2015, Klaus Post, see LICENSE for details. diff --git a/galois_arm64.go b/galois_arm64.go index a9e533f..7af56fa 100644 --- a/galois_arm64.go +++ b/galois_arm64.go @@ -1,5 +1,6 @@ //+build !noasm //+build !appengine +//+build !gccgo // Copyright 2015, Klaus Post, see LICENSE for details. // Copyright 2017, Minio, Inc. diff --git a/galois_arm64.s b/galois_arm64.s index b18e258..0c43f6d 100644 --- a/galois_arm64.s +++ b/galois_arm64.s @@ -1,4 +1,4 @@ -//+build !noasm !appengine +//+build !noasm !appengine !gccgo // Copyright 2015, Klaus Post, see LICENSE for details. // Copyright 2017, Minio, Inc. diff --git a/galois_noasm.go b/galois_noasm.go index ebde7be..7577d72 100644 --- a/galois_noasm.go +++ b/galois_noasm.go @@ -1,5 +1,5 @@ -//+build !amd64 noasm appengine -//+build !arm64 noasm appengine +//+build !amd64 noasm appengine gccgo +//+build !arm64 noasm appengine gccgo // Copyright 2015, Klaus Post, see LICENSE for details.