Skip to content

Commit

Permalink
power changes for building with and without jdk (#6234)
Browse files Browse the repository at this point in the history
Signed-off-by: Sonal-Mahambrey1 <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Co-authored-by: SonalMahambrey1 <[email protected]>
  • Loading branch information
reta and SonalMahambrey1 authored Feb 8, 2023
1 parent 6701aa6 commit 9f060b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions distribution/archives/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 9f060b0

Please sign in to comment.