mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[build] Creates Linux aarch64 archive (#69165)
- Updates Linux Chromium builds to accept architecture argument (defaults to x64) for arm64 support. - Example: `python ~/chromium/build_chromium/build.py 312d84c8ce62810976feda0d3457108a6dfff9e6 arm64` - Updates all Chromium builds to include architecture in filename. - `chromium-312d84c-linux_arm64.zip` _(new)_ - `chromium-312d84c-linux.zip` > `chromium-312d84c-linux_x64.zip` - Moves Chromium install from data directory to `x-pack/plugins/reporting/chromium` - Moves Chromium download cache from `x-pack/plugins/reporting/.chromium` to `.chromium` - Installs Chromium during build (closes #53664) - Updates build to be architecture aware (x64 and aarch64) - Removed Chromium debug logs, they were not helpful and can not be written inside the Kibana root. If we were to keep them, we would need to write to `logging.dist`. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
d8e9327db4
commit
afe785b43a
35 changed files with 219 additions and 255 deletions
|
@ -1,4 +1,4 @@
|
|||
import os, platform
|
||||
import os, platform, sys
|
||||
from build_util import runcmd, mkdir, md5_file, root_dir, configure_environment
|
||||
|
||||
# This is a cross-platform initialization script which should only be run
|
||||
|
@ -29,4 +29,10 @@ runcmd('fetch chromium')
|
|||
# Build Linux deps
|
||||
if platform.system() == 'Linux':
|
||||
os.chdir('src')
|
||||
|
||||
if len(sys.argv) >= 2:
|
||||
sysroot_cmd = 'build/linux/sysroot_scripts/install-sysroot.py --arch=' + sys.argv[1]
|
||||
print('Running `' + sysroot_cmd + '`')
|
||||
runcmd(sysroot_cmd)
|
||||
|
||||
runcmd('build/install-build-deps.sh')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue