Home
last modified time | relevance | path

Searched +full:- +full:isysroot (Results 1 – 25 of 169) sorted by relevance

1234567

/external/clang/test/Driver/
Dsysroot-flags.c1 // Check for proper handling of --sysroot and -isysroot flags.
3 // RUN: %clang -### -fsyntax-only -isysroot /foo/bar %s 2>&1 | \
4 // RUN: FileCheck %s -check-prefix=ISYSROOT
5 // ISYSROOT: "-isysroot" "{{[^"]*}}/foo/bar"
7 // Check that we get both isysroot for headers, and pass --sysroot on to GCC to
9 // RUN: %clang -### -target x86_64-unknown-linux-gnu \
10 // RUN: --sysroot=/foo/bar -o /dev/null %s 2>&1 | \
11 // RUN: FileCheck %s -check-prefix=SYSROOT_EQ
12 // SYSROOT_EQ: "-isysroot" "{{[^"]*}}/foo/bar"
13 // SYSROOT_EQ: "--sysroot{{" "|=}}{{[^"]*}}/foo/bar"
[all …]
Dps4-sdk-root.c1 // REQUIRES: x86-registered-target
5 // or relative to the location of the compiler driver), if "-nostdinc",
6 // "--sysroot" or "-isysroot" option is specified on the command line.
11 // or relative to the location of the compiler driver), if "-c", "-S", "-E",
12 // "--sysroot", "-nostdlib" or "-nodefaultlibs" option is specified on
17-Winvalid-or-nonexistent-directory -### -target x86_64-scei-ps4 %s 2>&1 | FileCheck -check-prefix=…
19 …. %clang -Winvalid-or-nonexistent-directory -### -c -target x86_64-scei-ps4 %s 2>&1 | FileCheck -c…
20 …. %clang -Winvalid-or-nonexistent-directory -### -S -target x86_64-scei-ps4 %s 2>&1 | FileCheck -c…
21 …. %clang -Winvalid-or-nonexistent-directory -### -E -target x86_64-scei-ps4 %s 2>&1 | FileCheck -c…
22 …lang -Winvalid-or-nonexistent-directory -### -emit-ast -target x86_64-scei-ps4 %s 2>&1 | FileCheck…
[all …]
Dsysroot.c1 // Check that --sysroot= also applies to header search paths.
2 // RUN: %clang -target i386-unk-unk --sysroot=/FOO -### -E %s 2> %t1
3 // RUN: FileCheck --check-prefix=CHECK-SYSROOTEQ < %t1 %s
4 // CHECK-SYSROOTEQ: "-cc1"{{.*}} "-isysroot" "{{[^"]*}}/FOO"
6 // Apple Darwin uses -isysroot as the syslib root, too.
8 // RUN: %clang -target i386-apple-darwin10 \
9 // RUN: -isysroot /FOO -### %t2.o 2> %t2
10 // RUN: FileCheck --check-prefix=CHECK-APPLE-ISYSROOT < %t2 %s
11 // CHECK-APPLE-ISYSROOT: "-arch" "i386"{{.*}} "-syslibroot" "{{[^"]*}}/FOO"
13 // Check that honor --sysroot= over -isysroot, for Apple Darwin.
[all …]
Dincompatible_sysroot.c1 // REQUIRES: x86-registered-target
2 // REQUIRES: aarch64-registered-target
4-target x86_64-apple-darwin -Wincompatible-sysroot -isysroot SDKs/MacOSX10.9.sdk -mios-version-min…
5-target arm64-apple-darwin -Wincompatible-sysroot -isysroot SDKs/iPhoneOS9.2.sdk -mwatchos-version
6-target arm64-apple-darwin -Wincompatible-sysroot -isysroot SDKs/iPhoneOS9.2.sdk -mtvos-version-mi…
7-target x86_64-apple-darwin -Wincompatible-sysroot -isysroot SDKs/iPhoneSimulator9.2.sdk -mios-ver…
8-target x86_64-apple-darwin -Wno-incompatible-sysroot -isysroot SDKs/MacOSX10.9.sdk -mios-version-
11 // CHECK-OSX-IOS: warning: using sysroot for 'MacOSX' but targeting 'iPhone'
12 // CHECK-IOS-WATCHOS: warning: using sysroot for 'iPhoneOS' but targeting 'Watch'
13 // CHECK-IOS-TVOS: warning: using sysroot for 'iPhoneOS' but targeting 'AppleTV'
[all …]
Dwarning-options.cpp1 // RUN: %clang -### -Wlarge-by-value-copy %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_DEFAUL…
2 // LARGE_VALUE_COPY_DEFAULT: -Wlarge-by-value-copy=64
3 // RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JO…
4 // LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128
6 // Check that -isysroot warns on nonexistent paths.
7 // RUN: %clang -### -c -target i386-apple-darwin10 -isysroot /FOO %s 2>&1 | FileCheck --check-prefi…
8 // CHECK-ISYSROOT: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}/FOO'
Dlinux-header-search.cpp6 // RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \
7 // RUN: -target x86_64-unknown-linux-gnu \
8 // RUN: -stdlib=libc++ \
9 // RUN: -ccc-install-dir %S/Inputs/basic_linux_tree/usr/bin \
10 // RUN: --sysroot=%S/Inputs/basic_linux_libcxx_tree \
11 // RUN: --gcc-toolchain="" \
12 // RUN: | FileCheck --check-prefix=CHECK-BASIC-LIBCXX-SYSROOT %s
13 // CHECK-BASIC-LIBCXX-SYSROOT: "{{[^"]*}}clang{{[^"]*}}" "-cc1"
14 // CHECK-BASIC-LIBCXX-SYSROOT: "-isysroot" "[[SYSROOT:[^"]+]]"
15 // CHECK-BASIC-LIBCXX-SYSROOT: "-internal-isystem" "[[SYSROOT]]/usr/include/c++/v1"
[all …]
Ddarwin-sdkroot.c1 // Check that SDKROOT is used to define the default for -isysroot on Darwin.
3 // RUN: rm -rf %t.tmpdir
4 // RUN: mkdir -p %t.tmpdir
5 // RUN: env SDKROOT=%t.tmpdir %clang -target x86_64-apple-darwin10 \
6 // RUN: -c %s -### 2> %t.log
7 // RUN: FileCheck --check-prefix=CHECK-BASIC < %t.log %s
9 // CHECK-BASIC: clang
10 // CHECK-BASIC: "-cc1"
11 // CHECK-BASIC: "-isysroot" "{{.*tmpdir}}"
15 // RUN: rm -rf %t.nonpath
[all …]
/external/python/cpython3/Lib/test/
Dtest__osx_support.py65 'cc not found - check xcode-select')
73 'CC': 'gcc-test -pthreads',
76 'CC': 'clang -pthreads',
79 newvalue = 'clang -pthreads'
87 'CC': 'gcc-test -pthreads',
90 'CC': 'clang -pthreads',
94 newvalue = 'clang -pthreads'
100 'CC': 'gcc-test -pthreads',
104 newvalue = 'gcc-test -pthreads'
117 ('gcc-test', 'i686-apple-darwin11-llvm-gcc-4.2'),
[all …]
/external/clang/test/Preprocessor/
Dsysroot-prefix.c1 // RUN: %clang_cc1 -v -isysroot /var/empty -I /var/empty/include -E %s -o /dev/null 2>&1 | FileChec…
2 // RUN: %clang_cc1 -v -isysroot /var/empty -I =/var/empty/include -E %s -o /dev/null 2>&1 | FileChe…
3 // RUN: %clang_cc1 -v -I =/var/empty/include -E %s -o /dev/null 2>&1 | FileCheck -check-prefix CHEC…
4 // RUN: %clang_cc1 -v -isysroot /var/empty -I =null -E %s -o /dev/null 2>&1 | FileCheck -check-pref…
5 // RUN: %clang_cc1 -v -isysroot /var/empty -isysroot /var/empty/root -I =null -E %s -o /dev/null 2>…
6 // RUN: %clang_cc1 -v -isysroot /var/empty/root -isysroot /var/empty -I =null -E %s -o /dev/null 2>…
8 // CHECK-ISYSROOT_NO_SYSROOT: ignoring nonexistent directory "/var/empty/include"
9 // CHECK-ISYSROOT_NO_SYSROOT-NOT: ignoring nonexistent directory "/var/empty/var/empty/include"
11 // CHECK-ISYSROOT_SYSROOT_DEV_NULL: ignoring nonexistent directory "/var/empty/var/empty/include"
12 // CHECK-ISYSROOT_SYSROOT_DEV_NULL-NOT: ignoring nonexistent directory "/var/empty"
[all …]
/external/python/cpython3/Lib/
D_osx_support.py15 # like "-arch" or "-isdkroot", that may need customization for
74 return fp.read().decode('utf-8').strip() if not os.system(cmd) else None
80 or _read_output("/usr/bin/xcrun -find %s" % (toolname,))
99 f = open('/System/Library/CoreServices/SystemVersion.plist', encoding="utf-8")
138 # This is needed for higher-level cross-platform tests of get_platform.
160 contents = _read_output('%s -c -E -v - </dev/null' % (cc,), True)
172 _cache_default_sysroot = line[:-12]
182 # builds, in particular -isysroot and -arch arguments to the compiler. This
203 # (or rather Xcode) releases. With older releases (up-to 10.5)
209 # Xcode releases. Up to Xcode 4 it was possible to use 'gcc-4.2'
[all …]
/external/clang/test/Modules/
Ddebug-info-moduleimport.m1 // RUN: rm -rf %t
2-debug-info-kind=limited -fmodules -DGREETING="Hello World" -UNDEBUG -fimplicit-module-maps -fmodu…
4 // NOIMPORT-NOT: !DIImportedEntity
5 // NOIMPORT-NOT: !DIModule
7 // RUN: rm -rf %t
8-debug-info-kind=limited -fmodules -DGREETING="Hello World" -UNDEBUG -fimplicit-module-maps -fmodu…
13 // CHECK-SAME: entity: ![[MODULE:.*]], line: [[@LINE-2]])
15 // CHECK-SAME: configMacros: "\22-DGREETING=Hello World\22 \22-UNDEBUG\22",
16 // CHECK-SAME: includePath: "{{.*}}test{{.*}}Modules{{.*}}Inputs",
17 // CHECK-SAME: isysroot: "/tmp/..")
[all …]
Dsystem_version.m5 // RUN: rm -rf %t
6 // RUN: mkdir -p %t/usr/include
12 // RUN: %clang_cc1 -fmodules-cache-path=%t/cache -fmodules -fimplicit-module-maps -isysroot %t -I %…
13 // RUN: ls -R %t | grep -c "ModA.*pcm" | grep 1
17 // RUN: mkdir -p %t/System/Library/CoreServices
19 // RUN: %clang_cc1 -fmodules-cache-path=%t/cache -fmodules -fimplicit-module-maps -isysroot %t -I %…
20 // RUN: ls -R %t | grep -c "ModA.*pcm" | grep 2
24 // RUN: mkdir -p %t/System/Library/CoreServices
26 // RUN: %clang_cc1 -fmodules-cache-path=%t/cache -fmodules -fimplicit-module-maps -isysroot %t -I %…
27 // RUN: ls -R %t | grep -c "ModA.*pcm" | grep 3
[all …]
Dcrash-vfs-relative-overlay.m1 // REQUIRES: crash-recovery, shell
3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
6 // RUN: rm -rf %t
7 // RUN: mkdir -p %t/i %t/m %t
10 // RUN: %clang -fsyntax-only -nostdinc %s \
11 // RUN: -I %S/Inputs/crash-recovery/usr/include -isysroot %/t/i/ \
12 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s
14 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
15 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
16 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \
[all …]
Dcrash-vfs-path-symlink-component.m1 // REQUIRES: crash-recovery, shell
3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
9 // RUN: rm -rf %t
10 // RUN: mkdir -p %t/i %t/m %t %t/sysroot
11 // RUN: cp -a %S/Inputs/crash-recovery/usr %t/i/
12 // RUN: ln -s include/tcl-private %t/i/usr/x
15 // RUN: %clang -fsyntax-only %s -I %/t/i -isysroot %/t/sysroot/ \
16 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s
18 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
19 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
[all …]
Dcrash-vfs-path-traversal.m1 // REQUIRES: crash-recovery, shell, non-ms-sdk, non-ps4-sdk
5 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
8 // RUN: rm -rf %t
9 // RUN: mkdir -p %t/i %t/m %t
12 // RUN: %clang -fsyntax-only %s -I %S/Inputs/crash-recovery -isysroot %/t/i/ \
13 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s
15 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
16 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
17 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \
18 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
[all …]
/external/libdav1d/package/crossfiles/
Dx86_64-iPhoneSimulator.meson2 c = ['clang', '-arch', 'x86_64', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms…
3 cpp = ['clang++', '-arch', 'x86_64', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platf…
4 objc = ['clang', '-arch', 'x86_64', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platfo…
5 objcpp = ['clang++', '-arch', 'x86_64', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Pl…
9 [built-in options]
10 c_args = ['-miphoneos-version-min=11.0']
11 cpp_args = ['-miphoneos-version-min=11.0']
12 c_link_args = ['-miphoneos-version-min=11.0']
13 cpp_link_args = ['-miphoneos-version-min=11.0']
14 objc_args = ['-miphoneos-version-min=11.0']
[all …]
Darm64-iPhoneOS.meson2 c = ['clang', '-arch', 'arm64', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/…
3 cpp = ['clang++', '-arch', 'arm64', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platfo…
4 objc = ['clang', '-arch', 'arm64', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platfor…
5 objcpp = ['clang++', '-arch', 'arm64', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Pla…
9 [built-in options]
10 c_args = ['-miphoneos-version-min=11.0']
11 cpp_args = ['-miphoneos-version-min=11.0']
12 c_link_args = ['-miphoneos-version-min=11.0']
13 cpp_link_args = ['-miphoneos-version-min=11.0']
14 objc_args = ['-miphoneos-version-min=11.0']
[all …]
/external/clang/lib/Serialization/
DGeneratePCH.cpp1 //===--- GeneratePCH.cpp - Sema Consumer for PCH Generation -----*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
28 clang::Module *Module, StringRef isysroot, in PCHGenerator() argument
32 : PP(PP), OutputFile(OutputFile), Module(Module), isysroot(isysroot.str()), in PCHGenerator()
33 SemaPtr(nullptr), Buffer(Buffer), Stream(Buffer->Data), in PCHGenerator()
36 Buffer->IsComplete = false; in PCHGenerator()
53 Buffer->Signature = in HandleTranslationUnit()
54 Writer.WriteAST(*SemaPtr, OutputFile, Module, isysroot, in HandleTranslationUnit()
56 // only warn-as-error kind. in HandleTranslationUnit()
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/cares/cares/ci/
Dbuild.sh2 set -e
12 XCODE_PATH=`xcode-select -print-path`
16 if [ "$BUILD_TYPE" != "cmake" -a "$BUILD_TYPE" != "valgrind" ]; then
17 autoreconf -fi
21 export CFLAGS="${CFLAGS} -isysroot ${SYSROOT}"
22 export CXXFLAGS="${CXXFLAGS} -isysroot ${SYSROOT}"
23 export LDFLAGS="${LDFLAGS} -isysroot ${SYSROOT}"
25 …$SCAN_WRAP ../configure --disable-symbol-hiding --enable-expose-statics --enable-maintainer-mode -…
32 CMAKE_FLAGS="${CMAKE_FLAGS} -DCMAKE_OSX_SYSROOT=${SYSROOT}"
/external/compiler-rt/make/platform/
Dclang_darwin.mk20 if $(LD) -v 2>&1 | grep "configured to support" \
22 if $(CC) -arch $$arch \
23 -integrated-as \
25 -isysroot $(3) \
26 -o /dev/null > /dev/null 2> /dev/null; then \
44 result=`xcrun -find $(1) 2> /dev/null`; \
50 result=`xcrun --sdk $(1).internal --show-sdk-path 2> /dev/null`; \
52 result=`xcrun --sdk $(1) --show-sdk-path 2> /dev/null`; \
59 LD := $(shell $(CC) -print-prog-name=ld)
108 ifneq ($(shell test -x /usr/bin/sw_vers && sw_vers -productVersion | grep 10.6),)
[all …]
/external/clang/test/ARCMT/
Dmigrate-on-pch-and-module.m1 // RUN: rm -rf %t-mcp
2-objcmt-migrate-subscripting -emit-pch -o %t.pch %s -isysroot %S/Inputs/System -triple x86_64-appl…
3-objcmt-migrate-subscripting -include-pch %t.pch %s -migrate -o %t.remap -isysroot %S/Inputs/Syste…
4 // REQUIRES: x86-registered-target
/external/llvm/test/Assembler/
Ddimodule.ll1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
12 …!DIModule(scope: !0, name: "Module", configMacros: "-DNDEBUG", includePath: "/usr/include", isysro…
13 …!DIModule(scope: !0, name: "Module", configMacros: "-DNDEBUG", includePath: "/usr/include", isysro…
/external/clang/test/PCH/
Dreloc.c1 // RUN: %clang -target x86_64-apple-darwin10 --relocatable-pch -o %t \
2 // RUN: -isysroot %S/Inputs/libroot %S/Inputs/libroot/usr/include/reloc.h
3 // RUN: %clang -target x86_64-apple-darwin10 -fsyntax-only \
4 // RUN: -include-pch %t -isysroot %S/Inputs/libroot %s -Xclang -verify
5 // RUN: not %clang -target x86_64-apple-darwin10 -include-pch %t %s
6 // REQUIRES: x86-registered-target
10 int x = 2; // expected-error{{redefinition}}
11 int y = 5; // expected-error{{redefinition}}
14 // expected-note@Inputs/libroot/usr/include/reloc.h:13{{previous definition}}
15 // expected-note@Inputs/libroot/usr/include/reloc2.h:14{{previous definition}}
/external/compiler-rt/cmake/
Dconfig-ix.cmake15 check_cxx_compiler_flag(-fPIC COMPILER_RT_HAS_FPIC_FLAG)
16 check_cxx_compiler_flag(-fPIE COMPILER_RT_HAS_FPIE_FLAG)
17 check_cxx_compiler_flag(-fno-builtin COMPILER_RT_HAS_FNO_BUILTIN_FLAG)
18 check_cxx_compiler_flag(-fno-exceptions COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG)
19 check_cxx_compiler_flag(-fomit-frame-pointer COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG)
20 check_cxx_compiler_flag(-funwind-tables COMPILER_RT_HAS_FUNWIND_TABLES_FLAG)
21 check_cxx_compiler_flag(-fno-stack-protector COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG)
22 check_cxx_compiler_flag(-fno-sanitize=safe-stack COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG)
23 check_cxx_compiler_flag(-fvisibility=hidden COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG)
24 check_cxx_compiler_flag(-frtti COMPILER_RT_HAS_FRTTI_FLAG)
[all …]
/external/cronet/tot/third_party/libc++/src/test/libcxx/selftest/additional_compile_flags/
Dsubstitutes-in-compile-flags.sh.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 // ADDITIONAL_COMPILE_FLAGS: -I %t.1
16 // ADDITIONAL_COMPILE_FLAGS: -isystem %t.2 -isysroot %t.3
17 // RUN: echo "-I %t.1 -isystem %t.2 -isysroot %t.3" | sed "s/\\\/\\\\\\\/g" > %t.escaped.grep
18 // RUN: echo "%{compile_flags}" | grep -e -f %t.escaped.grep

1234567