Skip to content

Commit 7aded1b

Browse files
committed
blas,lapack: rename to netlib
1 parent 5ef4f62 commit 7aded1b

17 files changed

+20
-20
lines changed

.travis/check-generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -ex
33

4-
go generate gonum.org/v1/netlib/blas
4+
go generate gonum.org/v1/netlib/blas/netlib
55
go generate gonum.org/v1/netlib/lapack/lapacke
66
if [ -n "$(git diff)" ]; then
77
exit 1

blas/bench_test.go renamed to blas/netlib/bench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package blas
1+
package netlib
22

33
import (
44
"gonum.org/v1/gonum/blas"

blas/blas.go renamed to blas/netlib/blas.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Use of this source code is governed by a BSD-style
55
// license that can be found in the LICENSE file.
66

7-
package blas
7+
package netlib
88

99
/*
1010
#cgo CFLAGS: -g -O2
File renamed without changes.

blas/dgemmbench_test.go renamed to blas/netlib/dgemmbench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package blas
1+
package netlib
22

33
import (
44
"testing"

blas/dgemvbench_test.go renamed to blas/netlib/dgemvbench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package blas
1+
package netlib
22

33
import (
44
"testing"

blas/dgerbench_test.go renamed to blas/netlib/dgerbench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package blas
1+
package netlib
22

33
import (
44
"testing"

blas/doc.go renamed to blas/netlib/doc.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Ensure changes made to netlib/blas are reflected in gonum/blas/native where relevant.
88

99
/*
10-
Package cgo provides bindings to a C BLAS library. This wrapper interface
10+
Package netlib provides bindings to a C BLAS library. This wrapper interface
1111
panics when the input arguments are invalid as per the standard, for example
1212
if a vector increment is zero. Please note that the treatment of NaN values
1313
is not specified, and differs among the BLAS implementations.
@@ -85,9 +85,9 @@ See http://www.crest.iu.edu/research/mtl/reference/html/banded.html
8585
for more information
8686
8787
*/
88-
package blas // import "gonum.org/v1/netlib/blas"
88+
package netlib // import "gonum.org/v1/netlib/blas/netlib"
8989

90-
// BUG(btracey): The cgo package is intrinsically dependent on the underlying C
90+
// BUG(btracey): The netlib package is intrinsically dependent on the underlying C
9191
// implementation. The BLAS standard is silent on a number of behaviors, including
9292
// but not limited to how NaN values are treated. For this reason the result of
9393
// computations performed by the cgo BLAS package may disagree with the results

blas/dtrmvbench_test.go renamed to blas/netlib/dtrmvbench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// +build go1.7
66

7-
package blas
7+
package netlib
88

99
import (
1010
"strconv"

blas/generate_blas.go renamed to blas/netlib/generate_blas.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525

2626
const (
2727
header = "cblas.h"
28-
documentation = "../../gonum/blas/native"
28+
documentation = "../../../gonum/blas/native"
2929
target = "blas.go"
3030

3131
typ = "Implementation"
@@ -801,7 +801,7 @@ const handwritten = `// Do not manually edit this file. It was created by the ge
801801
// Use of this source code is governed by a BSD-style
802802
// license that can be found in the LICENSE file.
803803
804-
package blas
804+
package netlib
805805
806806
/*
807807
#cgo CFLAGS: -g -O2

0 commit comments

Comments
 (0)