kernel: Skip perf build for now

See https://github.com/linuxkit/linuxkit/issues/3299

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
Rolf Neugebauer 2019-03-06 01:04:54 +00:00
parent d041e7d2bf
commit 94cdfb55b6

View File

@ -157,10 +157,9 @@ fetch: sources/linux-$(1).tar.xz
# with DCT as part of the dependency on build_$(2)$(3)$(4) and then build # with DCT as part of the dependency on build_$(2)$(3)$(4) and then build
# with DOCKER_CONTENT_TRUST explicitly set to 0 # with DOCKER_CONTENT_TRUST explicitly set to 0
# Only build perf for the latest LTS and the latest stable kernel # Skip perf build for now. See:
ifneq ($(2), $(filter $(2),4.9.x)) # https://github.com/linuxkit/linuxkit/issues/3299
ifneq ($(ARCH),aarch64) ifeq ($(ARCH),SKIP)
# Skip arm64 for now as perf for 4.19.x fails to build.
build_perf_$(2)$(3)$(4): build_$(2)$(3)$(4) build_perf_$(2)$(3)$(4): build_$(2)$(3)$(4)
docker pull $(ORG)/$(IMAGE_PERF):$(1)$(3)$(4)-$(TAG)$(SUFFIX) || \ docker pull $(ORG)/$(IMAGE_PERF):$(1)$(3)$(4)-$(TAG)$(SUFFIX) || \
DOCKER_CONTENT_TRUST=0 docker build -f Dockerfile.perf \ DOCKER_CONTENT_TRUST=0 docker build -f Dockerfile.perf \
@ -194,7 +193,6 @@ forcebuild: forcebuild_perf_$(2)$(3)$(4)
push: push_perf_$(2)$(3)$(4) push: push_perf_$(2)$(3)$(4)
forcepush: forcepush_perf_$(2)$(3)$(4) forcepush: forcepush_perf_$(2)$(3)$(4)
endif endif
endif
# Only build BCC on x86 and only on latest LTS and latest stable kernels. # Only build BCC on x86 and only on latest LTS and latest stable kernels.
ifeq ($(ARCH),x86_64) ifeq ($(ARCH),x86_64)