File tree Expand file tree Collapse file tree
orderfile/app/src/main/cpp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,8 +18,9 @@ target_link_libraries(orderfiledemo PRIVATE base::base log)
1818
1919if (GENERATE_PROFILES)
2020 # Generating profiles requires any optimization flag aside from -O0.
21- # The mapping file will not generate and the profile instrumentation does not work without an optimization flag.
22- target_compile_options (orderfiledemo PRIVATE -forder-file-instrumentation -O1 -mllvm -orderfile-write-mapping=mapping.txt )
21+ # The mapping file will not generate and the profile instrumentation does not work without an optimization flag.
22+ # Temporarily pass "-Wno-deprecated" since the order-file flags will be updated in a future PR
23+ target_compile_options (orderfiledemo PRIVATE -forder-file-instrumentation -O1 -mllvm -orderfile-write-mapping=mapping.txt -Wno-deprecated )
2324 target_link_options (orderfiledemo PRIVATE -forder-file-instrumentation )
2425 target_compile_definitions (orderfiledemo PRIVATE GENERATE_PROFILES )
2526elseif (USE_PROFILE)
You can’t perform that action at this time.
0 commit comments