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
|
|
|
|
|
|
|
|
build --action_env=CC=clang
|
|
|
|
build --action_env=CXX=clang++
|
2022-08-09 23:38:30 +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.
|