mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
Avoid linux to be hard dependency on build
This commit is contained in:
parent
a2e0a41f7e
commit
0c4dd8f5fa
@ -1,4 +1,4 @@
|
|||||||
// +build linux,amd64
|
// +build amd64
|
||||||
|
|
||||||
package cpu
|
package cpu
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// +build linux,amd64
|
// +build amd64
|
||||||
|
|
||||||
package crc32c
|
package crc32c
|
||||||
|
|
||||||
|
@ -14,12 +14,11 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// +build linux
|
// +build amd64
|
||||||
|
|
||||||
package erasure
|
package erasure
|
||||||
|
|
||||||
// #cgo CPPFLAGS: -Iisal/include
|
// #cgo CPPFLAGS: -Iisal/include
|
||||||
// #cgo LDFLAGS: isal/isa-l.a
|
|
||||||
// #include <stdlib.h>
|
// #include <stdlib.h>
|
||||||
// #include <erasure-code.h>
|
// #include <erasure-code.h>
|
||||||
// #include <stdlib.h>
|
// #include <stdlib.h>
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// +build linux
|
// +build amd64
|
||||||
|
|
||||||
package erasure
|
package erasure
|
||||||
|
|
||||||
// #cgo CPPFLAGS: -I./isal/include
|
// #cgo CPPFLAGS: -Iisal/include
|
||||||
// #cgo LDFLAGS: ./isal/isa-l.a
|
// #cgo LDFLAGS: isal/isa-l.a
|
||||||
// #include <stdlib.h>
|
// #include <stdlib.h>
|
||||||
// #include <erasure-code.h>
|
// #include <erasure-code.h>
|
||||||
// #include <stdlib.h>
|
// #include <stdlib.h>
|
||||||
|
@ -14,8 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// +build linux
|
// +build amd64
|
||||||
// amd64
|
|
||||||
|
|
||||||
package signify
|
package signify
|
||||||
|
|
||||||
|
@ -14,8 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// +build linux
|
// +build amd64
|
||||||
// amd64
|
|
||||||
|
|
||||||
package split
|
package split
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user