mirror of
https://github.com/tsukumijima/libmali-rockchip.git
synced 2026-01-24 00:10:50 +01:00
meson: Support optimize-level option
The default optimize level is O3, there're more to come. Change-Id: I4671d9664a565c43300ec46a0aa6ac91661bd607 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
parent
5c877bacdb
commit
c861959ac5
4 changed files with 16 additions and 4 deletions
|
|
@ -21,11 +21,12 @@ platform = get_option('platform')
|
|||
opencl_icd = get_option('opencl-icd')
|
||||
vendor_package = get_option('vendor-package')
|
||||
wrappers_opts = get_option('wrappers')
|
||||
optimize = get_option('optimize-level')
|
||||
|
||||
message('Building for ' + '|'.join([arch, gpu, version, subversion, platform]))
|
||||
message('Building for ' + '|'.join([arch, gpu, version, subversion, platform, optimize]))
|
||||
|
||||
# Grab libraries with specified configs
|
||||
cmd = run_command('grabber.sh', arch, gpu, version, subversion, platform)
|
||||
cmd = run_command('grabber.sh', arch, gpu, version, subversion, platform, optimize)
|
||||
libs = cmd.stdout().strip().split('\n')
|
||||
|
||||
# Use the first one as default library
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue