1234567891011121314151617181920212223242526 |
- # Copyright 2020 The Chromium Authors. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
- # found in the LICENSE file.
- config("eigen_includes") {
- include_dirs = [ "src" ]
- cflags = [
- "-Wno-deprecated-copy",
- "-Wno-extra-semi",
- "-Wno-unused-function",
- "-Wno-unused-result",
- ]
- defines = [
- "EIGEN_MPL2_ONLY",
- "EIGEN_MAX_ALIGN_BYTES=64",
- "EIGEN_HAS_TYPE_TRAITS=0",
- ]
- if (target_os == "win" && target_cpu == "arm64") {
- # https://crbug.com/1182242 - Neon extensions are temporarily disabled
- # for this component on Windows on Arm due to compilation errors.
- defines += [ "EIGEN_DONT_VECTORIZE" ]
- }
- }
|