From 9f060b044eef7b70228fc1ee94849e6dffcc7548 Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Wed, 8 Feb 2023 12:15:56 -0500 Subject: [PATCH] power changes for building with and without jdk (#6234) Signed-off-by: Sonal-Mahambrey1 Signed-off-by: Andriy Redko Co-authored-by: SonalMahambrey1 <112369509+SonalMahambrey1@users.noreply.github.com> --- distribution/archives/build.gradle | 10 ++++++++-- settings.gradle | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/distribution/archives/build.gradle b/distribution/archives/build.gradle index 928823e9eaa36..e7137127053e2 100644 --- a/distribution/archives/build.gradle +++ b/distribution/archives/build.gradle @@ -167,10 +167,16 @@ distribution_archives { } } - // Should really be `no-jdk-linux-ppc64le` as it ships without a JDK, however it seems that the build can't handle - // the absence of the `linux-ppc64le` target. + linuxPpc64leTar { archiveClassifier = 'linux-ppc64le' + content { + archiveFiles(modulesFiles('linux-ppc64le'), 'tar', 'linux', 'ppc64le', true) + } + } + + noJdkLinuxPpc64leTar { + archiveClassifier = 'no-jdk-linux-ppc64le' content { archiveFiles(modulesFiles('linux-ppc64le'), 'tar', 'linux', 'ppc64le', false) } diff --git a/settings.gradle b/settings.gradle index 446d337b59b54..b06a76eb3e149 100644 --- a/settings.gradle +++ b/settings.gradle @@ -50,6 +50,7 @@ List projects = [ 'distribution:archives:no-jdk-linux-arm64-tar', 'distribution:archives:linux-s390x-tar', 'distribution:archives:linux-ppc64le-tar', + 'distribution:archives:no-jdk-linux-ppc64le-tar', 'distribution:archives:linux-tar', 'distribution:archives:no-jdk-linux-tar', 'distribution:docker',