mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-19 09:57:45 +08:00

this removes the replace rule that was added in 3c94621142cc05b163992997e796a3115cd1361e, to fix compile failures for macOS. containerd/console v1.0.1 fixes those issues, which allows us to remove the replace rule again. full diff: https://github.com/containerd/console/compare/v1.0.0...v1.0.1 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
17 lines
356 B
Go
17 lines
356 B
Go
// Copyright 2020 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build ppc64 ppc64le
|
|
|
|
package cpu
|
|
|
|
const cacheLineSize = 128
|
|
|
|
func initOptions() {
|
|
options = []option{
|
|
{Name: "darn", Feature: &PPC64.HasDARN},
|
|
{Name: "scv", Feature: &PPC64.HasSCV},
|
|
}
|
|
}
|