Upgrade libjpeg-turbo
NOTE: libjpeg-turbo 1.5.90 also exists, which adds AVX2 SIMD support. However
it also comes with a CMake build rewrite and 35 micro-architecture specialized
nasm files for x86_64 alone. We do not have the cycles to update jpeg.BUILD to
incorporate those changes at this time. If anyone wants to try, please note
we'd need predicates such as the following:
config_setting(
name = "haswell_opt",
values = {
"cpu": "haswell", # First Intel chip with AVX2
"compilation_mode": "opt",
},
visibility = ["//visibility:public"],
)
config_setting(
name = "excavator_opt",
values = {
"cpu": "excavator", # First AMD chip with AVX2
"compilation_mode": "opt",
},
visibility = ["//visibility:public"],
)
PiperOrigin-RevId: 192655533
Loading
Please sign in to comment