From e397e775526bc8c7becf5d3b57066777fcf2c167 Mon Sep 17 00:00:00 2001 From: SonalMahambrey1 <112369509+SonalMahambrey1@users.noreply.github.com> Date: Tue, 7 Feb 2023 19:21:43 +0530 Subject: [PATCH] power changes for building with and without jdk Signed-off-by: Sonal-Mahambrey1 Signed-off-by: Andriy Redko --- distribution/archives/build.gradle | 11 ++++++++--- settings.gradle | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/distribution/archives/build.gradle b/distribution/archives/build.gradle index 759e17be73278..c106f930b0b95 100644 --- a/distribution/archives/build.gradle +++ b/distribution/archives/build.gradle @@ -157,11 +157,16 @@ distribution_archives { archiveFiles(modulesFiles('linux-arm64'), 'tar', 'linux', 'arm64', false) } } - - // 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 e368aedc2ba6a..5bfacfdbffc0d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -47,6 +47,7 @@ List projects = [ 'distribution:archives:linux-arm64-tar', 'distribution:archives:no-jdk-linux-arm64-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',