summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gn/build/libs/atomic/BUILD.gn
blob: c777f74a0ed75b7e6f03f068fbf4d16958fe424c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
config("atomic_config") {
  visibility = [ ":atomic" ]
  libs = [ "atomic" ]
}

group("atomic") {
  # Needed on platforms that have no native support for 64-bit atomics.
  # FIXME: Check which platforms need this; certainly needs to be false on
  # macOS and Windows, and doesn't seem to be needed on Linux either.
  needs_explicit_lib_atomic = false
  if (needs_explicit_lib_atomic) {
    public_configs = [ ":atomic_config" ]
  }
}
OpenPOWER on IntegriCloud