• Home
  • Raw
  • Download

Lines Matching +full:use +full:- +full:alpine

4 # you may not use this file except in compliance with the License.
7 # http://www.apache.org/licenses/LICENSE-2.0
43 "Development Status :: 4 - Beta",
65 """Checks if it's building Alpine"""
68 with open("/etc/os-release", "r") as f:
70 if "alpine" in os_release_content:
77 # *use* Cython or use the generated C files. Note that this requires the C files
82 # At least on linux, this is normally not needed as we can build manylinux-compatible wheels on lin…
85 # it's difficult to ensure that the crosscompilation toolchain has a high-enough version
86 # of GCC (we require >=5.1) but still uses old-enough libstdc++ symbols.
101 cxx + ["-x", "c++", "-std=c++14", "-"],
109 # Double-check to see if -latomic actually can solve the problem.
112 cxx + ["-x", "c++", "-std=c++14", "-", "-latomic"],
125 … # since python3.5, python extensions' shared libraries use a suffix that corresponds to the value
127 # E.g. on x64 linux the suffix is ".cpython-XYZ-x86_64-linux-gnu.so"
129 … # so that the resulting file name matches the target architecture and we end up with a well-formed
135 filename = filename[: -len(orig_ext_suffix)] + new_ext_suffix
141 # We use these environment variables to thus get around that without locking
143 # We can also use these variables as a way to inject environment-specific
144 # compiler/linker flags. We assume GCC-like compilers and/or MinGW as a
149 EXTRA_ENV_COMPILE_ARGS = "-std=c++14"
155 EXTRA_ENV_COMPILE_ARGS += " -fno-wrapv -frtti -fvisibility=hidden"
160 EXTRA_ENV_LINK_ARGS += " -lpthread"
162 EXTRA_ENV_LINK_ARGS += " -latomic"
164 # This enables the standard link-time optimizer, which help us prevent some undefined symbol errors…
168 EXTRA_ENV_COMPILE_ARGS += " -flto"
169 …# Compile with fail with error: `lto-wrapper failed` when lto flag was enabled in Alpine using mus…
170 # As a work around we need to disable ipa-cp.
172 EXTRA_ENV_COMPILE_ARGS += " -fno-ipa-cp"
178 EXTRA_LINK_ARGS.append("-static-libstdc++")
196 # avoid https://github.com/abseil/abseil-cpp/issues/1425
218 # Use `-fvisibility=hidden` will hide cython init symbol, we need that symbol exported
273 name="grpcio-observability",
276 long_description_content_type="text/x-rst",
279 author_email="grpc-io@googlegroups.com",
293 "opentelemetry-api==1.21.0",