Lines Matching +full:libatomic +full:- +full:1
7 # http://www.apache.org/licenses/LICENSE-2.0
44 "Development Status :: 5 - Production/Stable",
70 with open("/etc/os-release", "r") as f:
84 # At least on linux, this is normally not needed as we can build manylinux-compatible wheels on lin…
87 # it's difficult to ensure that the crosscompilation toolchain has a high-enough version
88 # of GCC (we require >=5.1) but still uses old-enough libstdc++ symbols.
96 """Test if linker on system needs libatomic."""
103 cxx + ["-x", "c++", "-std=c++17", "-"],
111 # Double-check to see if -latomic actually can solve the problem.
114 cxx + ["-x", "c++", "-std=c++17", "-", "-latomic"],
129 # E.g. on x64 linux the suffix is ".cpython-XYZ-x86_64-linux-gnu.so"
131 … # so that the resulting file name matches the target architecture and we end up with a well-formed
137 filename = filename[: -len(orig_ext_suffix)] + new_ext_suffix
160 # We can also use these variables as a way to inject environment-specific
161 # compiler/linker flags. We assume GCC-like compilers and/or MinGW as a
166 EXTRA_ENV_COMPILE_ARGS = "-std=c++17"
172 EXTRA_ENV_COMPILE_ARGS += " -fno-wrapv -frtti -fvisibility=hidden"
177 EXTRA_ENV_LINK_ARGS += " -lpthread"
179 EXTRA_ENV_LINK_ARGS += " -latomic"
181 # This enables the standard link-time optimizer, which help us prevent some undefined symbol errors…
185 EXTRA_ENV_COMPILE_ARGS += " -flto"
186 …# Compile with fail with error: `lto-wrapper failed` when lto flag was enabled in Alpine using mus…
187 # As a work around we need to disable ipa-cp.
189 EXTRA_ENV_COMPILE_ARGS += " -fno-ipa-cp"
195 EXTRA_LINK_ARGS.append("-static-libstdc++")
209 ("WIN32_LEAN_AND_MEAN", 1),
210 ("CARES_STATICLIB", 1),
213 # avoid https://github.com/abseil/abseil-cpp/issues/1425
214 ("NOMINMAX", 1),
217 DEFINE_MACROS += (("MS_WIN64", 1),)
223 DEFINE_MACROS += (("HAVE_PTHREAD", 1),)
235 # Use `-fvisibility=hidden` will hide cython init symbol, we need that symbol exported
290 name="grpcio-observability",
293 long_description_content_type="text/x-rst",
296 author_email="grpc-io@googlegroups.com",
310 "opentelemetry-api>=1.21.0",