mirror of
https://github.com/google/cpu_features.git
synced 2025-07-01 21:31:15 +02:00
Move c99
flag from BUILD file to bazel cmd line (#366)
* Move `c99` flag from BUILD file to bazel cmd line Requiring c99 for everyone breaks downstream users. * Remove requiring bzlmod
This commit is contained in:

committed by
GitHub

parent
747d711a36
commit
164bcd7eb0
32
.bazelrc
Normal file
32
.bazelrc
Normal file
@ -0,0 +1,32 @@
|
||||
###############################################################################
|
||||
# Common flags that apply to all configurations.
|
||||
# Use sparingly for things common to all compilers and platforms.
|
||||
###############################################################################
|
||||
|
||||
# Prevent invalid caching if input files are modified during a build.
|
||||
build --experimental_guard_against_concurrent_changes
|
||||
|
||||
###############################################################################
|
||||
# Options for continuous integration.
|
||||
###############################################################################
|
||||
|
||||
# Speedup bazel using a ramdisk.
|
||||
build:ci --sandbox_base=/dev/shm
|
||||
|
||||
# Show as many errors as possible.
|
||||
build:ci --keep_going
|
||||
|
||||
# Show subcommands when building
|
||||
build:ci --subcommands=true
|
||||
|
||||
# Make sure we test for C99 compliance when building the library
|
||||
build:ci --conlyopt=-std=c99
|
||||
|
||||
# Show test errors.
|
||||
test:ci --test_output=errors
|
||||
|
||||
###############################################################################
|
||||
|
||||
# The user.bazelrc file is not checked in but available for local mods.
|
||||
# Always keep this at the end of the file so that user flags override.
|
||||
try-import %workspace%/user.bazelrc
|
Reference in New Issue
Block a user