mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
Change Shed Model
Signed-off-by: erjuan <fengting11@huawei.com>
This commit is contained in:
parent
962ee2f46e
commit
710e5ca285
@ -41,6 +41,9 @@ declare_args() {
|
||||
# Enable atomic for building.
|
||||
ace_engine_feature_enable_atomic = false
|
||||
|
||||
# Set Instruction Sched Model
|
||||
ace_engine_feature_sched_model = ""
|
||||
|
||||
# Enable test coverage
|
||||
ace_engine_feature_enable_coverage = false
|
||||
|
||||
|
@ -103,6 +103,10 @@ config("ace_engine_public_config") {
|
||||
|
||||
config("lto_link_config") {
|
||||
ldflags = [ "-Wl,--lto-O2" ]
|
||||
if (ace_engine_feature_enable_pgo && enable_enhanced_opt) {
|
||||
ldflags +=
|
||||
[ "-Wl,-mllvm,-force-sched-model=${ace_engine_feature_sched_model}" ]
|
||||
}
|
||||
}
|
||||
|
||||
ohos_shared_library("libace_compatible") {
|
||||
|
Loading…
Reference in New Issue
Block a user