diff options
author | 2018-07-04 09:04:57 +0800 | |
---|---|---|
committer | 2018-09-06 17:35:11 +0800 | |
commit | d41f5ffb9cdc1c047db2f7b8a71ef24d39d12fb0 (patch) | |
tree | 71b794297127a1132999549295ae8d6fb31278c0 /third_party/nasm.BUILD | |
parent | 5393c8f0dc57857c93482bff67f1134aae9af594 (diff) |
[Bazel/MSVC] Enable jpeg SIMD for MSVC
- Add config/msvc.h when building nasm on Windows
- Update Windows SIMD for libjpeg-turbo 2.0.0
- Add missing source files
Diffstat (limited to 'third_party/nasm.BUILD')
-rw-r--r-- | third_party/nasm.BUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/third_party/nasm.BUILD b/third_party/nasm.BUILD index 2b877883b9..d746a65e7e 100644 --- a/third_party/nasm.BUILD +++ b/third_party/nasm.BUILD @@ -133,7 +133,10 @@ cc_binary( "x86/regs.c", "x86/regs.h", "x86/regvals.c", - ], + ] + select({ + ":windows": ["config/msvc.h"], + "//conditions:default": [], + }), includes = [ "asm", "include", |