Skip to content

Commit 30e2df4

Browse files
committed
Upgrade to Openfst 1.8.0
1 parent e49ea94 commit 30e2df4

File tree

461 files changed

+25781
-16985
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

461 files changed

+25781
-16985
lines changed

.bazelrc

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Copyright 2015-2020 Google LLC.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# OpenFst Bazel configuration file.
16+
# ---------------------------------
17+
# Based on TensorFlow options in:
18+
# https://github.com/tensorflow/tensorflow/blob/master/.bazelrc
19+
#
20+
# Compiler options:
21+
# c++17: Build with C++17 options (links with libc++)
22+
# c++1z: Build with C++17 options (links with libc++)
23+
# c++17_gcc: Build with C++17 options (links with stdlibc++)
24+
# c++1z_gcc: Build with C++17 options (links with stdlibc++)
25+
#
26+
# Other build options:
27+
# short_logs: Only log errors during build, skip warnings.
28+
# verbose_logs: Show all compiler warnings during build.
29+
# libc++: Link against libc++ instead of stdlibc++
30+
31+
# Suppress all warning messages.
32+
build:short_logs --output_filter=DONT_MATCH_ANYTHING
33+
build:verbose_logs --output_filter=
34+
build --config=short_logs
35+
36+
# Allow builds using libc++ as a linker library. This is mostly for
37+
# OSSFuzz, so we also pass in the flags from environment to clean
38+
# build file.
39+
build:libc++ --action_env=CC
40+
build:libc++ --action_env=CXX
41+
build:libc++ --action_env=CXXFLAGS=-stdlib=libc++
42+
build:libc++ --action_env=PATH
43+
build:libc++ --define force_libcpp=enabled
44+
build:libc++ --linkopt -fuse-ld=lld
45+
46+
# Build with C++ 17 features.
47+
build:c++17 --cxxopt=-std=c++1z
48+
build:c++17 --cxxopt=-stdlib=libc++
49+
build:c++1z --config=c++17
50+
build:c++17_gcc --cxxopt=-std=c++1z
51+
build:c++1z_gcc --config=c++17_gcc
52+
53+
# Enable using platform specific build settings, except when cross-compiling for
54+
# mobile platforms.
55+
build --enable_platform_specific_config
56+
build:android --noenable_platform_specific_config
57+
build:ios --noenable_platform_specific_config
58+
59+
# By default, build in C++ 17 mode.
60+
build:android --cxxopt=-std=c++17
61+
build:android --host_cxxopt=-std=c++17
62+
build:ios --cxxopt=-std=c++17
63+
build:ios --host_cxxopt=-std=c++17
64+
build:linux --cxxopt=-std=c++17
65+
build:linux --host_cxxopt=-std=c++17
66+
build:macos --cxxopt=-std=c++17
67+
build:macos --host_cxxopt=-std=c++17
68+
build:windows --cxxopt=/std:c++17
69+
build:windows --host_cxxopt=/std:c++17

AUTHORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Google, Inc.
1+
Google, LLC.
22

33
Principal developers:
44

0 commit comments

Comments
 (0)