2022-04-07 02:20:39 +08:00
|
|
|
# This file is licensed under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
# See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
|
2022-11-11 05:11:06 +08:00
|
|
|
build --action_env=CC=clang-16
|
|
|
|
build --action_env=CXX=clang++-16
|
2022-08-18 03:46:17 +08:00
|
|
|
build --cxxopt=-std=c++17
|
|
|
|
build --host_cxxopt=-std=c++17
|
2022-04-07 02:20:39 +08:00
|
|
|
build --cxxopt=-D_GLIBCXX_USE_CXX11_ABI=0
|
|
|
|
build --cxxopt=-U__GXX_ABI_VERSION
|
|
|
|
build --cxxopt=-D__GXX_ABI_VERSION=1011
|
|
|
|
build --cxxopt=-DPYBIND11_COMPILER_TYPE=\"_gcc\"
|
|
|
|
build --cxxopt=-DMLIR_PYTHON_PACKAGE_PREFIX=torch_mlir.
|