Lines Matching +full:setup +full:- +full:x86_64
2 # Setup variables for the compiler
5 # automatic detection. Other compiler types can be shoe-horned in, but require
21 # - c++17: supports full (or nearly full) C++17 programming environment.
22 # - c++14: supports full (or nearly full) C++14 programming environment.
23 # - c++11: supports full (or nearly full) C++11 programming environment.
24 # - retpoline: supports the retpoline speculative execution vulnerability
26 # - init-all: supports stack variable initialization.
27 # - stackclash:supports stack clash protection
28 # - zeroregs: supports zeroing used registers on return
29 # - aarch64-sha512: supports the AArch64 sha512 intrinsic functions.
31 # When bootstrapping on macOS, 'apple-clang' will be set in COMPILER_FEATURES
33 # versioning scheme and may not support the same -W/-Wno warning flags. For a
35 # https://en.wikipedia.org/wiki/Xcode#Xcode_7.0_-_12.x_(since_Free_On-Device_Development)
61 # overridden with a manual setup.
63 !make(test-system-*) && !make(print-dir) && !make(showconfig) && \
74 # Export to ensure sub-makes can filter it out for mkdep/linking and
96 # Ensure no bogus CCACHE_PATH leaks in which might avoid the in-tree compiler.
118 # which fails with -Wparentheses-equality, -Wtautological-compare, and
119 # -Wself-assign on macro-expanded lines.
128 CCACHE_DIR!= ${CCACHE_BIN} -s | awk '$$2 == "location" && $$3 == "Local" {print substr($$5, 2, leng…
130 CCACHE_DIR!= ${CCACHE_BIN} -p | awk '$$2 == "cache_dir" {print $$4}'
142 ccache-print-options: .PHONY
144 @${CCACHE_BIN} -s
146 @${CCACHE_BIN} -p
190 # generated files - thus there is no compiler.
195 _v!= ${${cc}:N${CCACHE_BIN}} --version || echo 0.0.0
206 . elif ${_v:Mclang} || ${_v:M(clang-*.*.*)}
209 # With GCC, cc --version prints "cc $VERSION ($PKGVERSION)", so if a
211 # However, its -v output always says "gcc version" in it, so fall back on that.
212 _gcc_version!= ${${cc}:N${CCACHE_BIN}} -v 2>&1 | grep "gcc version"
222 ${X_}COMPILER_VERSION!=echo "${_v:M[1-9]*.[0-9]*}" | awk -F. '{print $$1 * 10000 + $$2 * 100 + $$3;…
226 ${X_}COMPILER_FEATURES= apple-clang
231 …__FreeBSD_cc_version" | ${${cc}:N${CCACHE_BIN}} -E - 2>/dev/null || echo __FreeBSD_cc_version; } |…
233 # is a non-FreeBSD build that doesn't support it or some other error
241 ${X_}COMPILER_RESOURCE_DIR!= ${${cc}:N${CCACHE_BIN}} -print-resource-dir 2>/dev/null || echo unknown
255 ${X_}COMPILER_FEATURES+= init-all
263 # When compiling bootstrap tools on non-FreeBSD, the various MACHINE variables
265 # reports as MACHINE=x86_64 MACHINE_ARCH=x86_64), causing TARGET_ENDIANNESS to
271 ${X_}COMPILER_FEATURES+= compressed-debug
298 ${X_}COMPILER_FEATURES+= aarch64-sha512
310 # Export the values so sub-makes don't have to look them up again, using the
314 .export-env ${var}__${${X_}_cc_hash}