mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
Add zstd to native access (#105715)
This commit makes zstd compression available to Elasticsearch. The library is pulled in through maven in jar files for each platform, then bundled in a new platform directory under lib. Access to the zstd compression/decompression is through NativeAccess.
This commit is contained in:
parent
8ff083be1b
commit
405b88b882
37 changed files with 870 additions and 34 deletions
|
@ -131,6 +131,7 @@ def commonPackageConfig(String type, String architecture) {
|
|||
|
||||
// top level "into" directive is not inherited from ospackage for some reason, so we must
|
||||
// specify it again explicitly for copying common files
|
||||
String platform = 'linux-' + ((architecture == 'x64') ? 'x86_64' : architecture)
|
||||
into('/usr/share/elasticsearch') {
|
||||
into('bin') {
|
||||
with binFiles(type, false)
|
||||
|
@ -140,7 +141,7 @@ def commonPackageConfig(String type, String architecture) {
|
|||
fileMode 0644
|
||||
}
|
||||
into('lib') {
|
||||
with libFiles
|
||||
with libFiles('linux', architecture)
|
||||
}
|
||||
into('modules') {
|
||||
with modulesFiles('linux', architecture)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue