| /external/clang/test/Driver/ |
| D | darwin-sanitizer-ld.c | 3 // RUN: %clang -no-canonical-prefixes -### -target x86_64-darwin \ 4 // RUN: -stdlib=platform -fsanitize=address %s -o %t.o 2>&1 \ 5 // RUN: | FileCheck --check-prefix=CHECK-ASAN %s 7 // CHECK-ASAN: "{{.*}}ld{{(.exe)?}}" 8 // CHECK-ASAN-NOT: "-lstdc++" 9 // CHECK-ASAN-NOT: "-lc++" 10 // CHECK-ASAN: libclang_rt.asan_osx_dynamic.dylib" 11 // CHECK-ASAN: "-rpath" "@executable_path" 12 // CHECK-ASAN: "-rpath" "{{.*}}lib{{.*}}darwin" 14 // RUN: %clang -no-canonical-prefixes -### -target x86_64-darwin \ [all …]
|
| /external/angle/build/config/chromecast/ |
| D | BUILD.gn | 2 # Use of this source code is governed by a BSD-style license that can be 15 "-Wl,--exclude-libs=libffmpeg.a", 22 "-static-libstdc++", 23 "-static-libgcc", 40 "-Wl,-rpath=/oem_cast_shlib", 41 "-Wl,-rpath=\$ORIGIN/lib", 42 "-Wl,-rpath=\$ORIGIN", 45 ldflags = [ "-Wl,-rpath=${target_rpath}" ] 50 # directory to the rpath for the component build. 52 ldflags += [ "-Wl,-rpath=/system/chrome" ] [all …]
|
| /external/pytorch/.github/scripts/amd/ |
| D | patch_triton_wheel.sh | 2 set -x 4 if [ -z "$1" ]; then 14 LINKNAME=$(echo $1 | sed -e 's/\.so.*/.so/g') 19 find $1 -name '*.so*' -o -name 'ld.lld' | while read sofile; do 24 origname=$($PATCHELF_BIN --print-needed $sofile | grep "$origname.*") 26 set -e 27 if [ "$ERRCODE" -eq "0" ]; then 29 $PATCHELF_BIN --replace-needed $origname $patchedname $sofile 35 mkdir -p "/tmp_dir" 39 rm -rf tmp [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjCopy/MachO/ |
| D | MachOObjcopy.cpp | 1 //===- MachOObjcopy.cpp -----------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 62 return Config.ToRemove.matches(Sec->CanonicalName); in removeSections() 69 if (Sec->Segname == "__DWARF") in removeSections() 77 // Overwrite RemovePred because --only-section takes priority. in removeSections() 79 return !Config.OnlySection.matches(Sec->CanonicalName); in removeSections() 90 (*ISE.Symbol)->Referenced = true; in markSymbols() 99 Sym.Name = std::string(I->getValue()); in updateAndRemoveSymbols() 104 if (N->Referenced) in updateAndRemoveSymbols() [all …]
|
| /external/bazelbuild-rules_python/examples/pip_repository_annotations/ |
| D | pip_repository_annotations_test.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 30 def wheel_pkg_dir(self) -> str: 37 rpath = r.Rlocation( 42 generated_file = Path(rpath) 50 rpath = r.Rlocation( 55 copied_file = Path(rpath) 63 rpath = r.Rlocation( 69 executable = Path(rpath) 78 stdout = proc.stdout.decode("utf-8").strip() 85 …_info_dir = "pip_repository_annotations_example/external/{}/site-packages/wheel-{}.dist-info".form… [all …]
|
| /external/bazelbuild-rules_python/examples/bzlmod/whl_mods/ |
| D | pip_whl_mods_test.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 31 def _get_bazel_pkg_dir_name(env_var: str) -> str: 44 def wheel_pkg_dir(self) -> Path: 49 rpath = r.Rlocation( 54 generated_file = Path(rpath) 62 rpath = r.Rlocation( 67 copied_file = Path(rpath) 79 rpath = r.Rlocation( 85 executable = Path(rpath) 94 stdout = proc.stdout.decode("utf-8").strip() [all …]
|
| /external/angle/build/config/gcc/ |
| D | BUILD.gn | 2 # Use of this source code is governed by a BSD-style license that can be 12 # When non empty, overrides the target rpath value. This allows a user to 17 # especially when cross-compiling. 34 cflags = [ "-fvisibility=hidden" ] 35 rustflags = [ "-Zdefault-visibility=hidden" ] 39 cflags_cc = [ "-fvisibility-inlines-hidden" ] 46 # which would error out otherwise (e.g. -fsanitize=cfi-unrelated-cast) 48 cflags = [ "-fvisibility=default" ] 51 # The rpath is the dynamic library search path. Setting this config on a link 53 # the rpath. [all …]
|
| /external/bazelbuild-rules_cc/cc/private/toolchain/ |
| D | osx_cc_wrapper.sh.tpl | 9 # http://www.apache.org/licenses/LICENSE-2.0 21 # (bazel-out/.../path/to/original/library.so) by the paths relative to 22 # the binary. It parses the command line to behave as rpath is supposed 26 # on how to set those paths for Mach-O binaries. 28 set -eu 37 local -r opt="$1" 40 elif [[ "$opt" =~ ^-l(.*)$ ]]; then 46 elif [[ "$opt" =~ ^-L(.*)$ ]]; then 50 elif [[ "$opt" = "-o" ]]; then 58 if [[ "$i" = @* && -r "${i:1}" ]]; then [all …]
|
| /external/libexif/ |
| D | config.rpath | 5 # Copyright 1996-2003 Free Software Foundation, Inc. 21 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 29 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 31 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 38 # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer 49 host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 50 host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 51 host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 57 wl='-Wl,' 61 wl='-Wl,' [all …]
|
| /external/e2fsprogs/config/ |
| D | config.rpath | 5 # Copyright 1996-2016 Free Software Foundation, Inc. 14 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 16 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 23 # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer 34 host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 35 host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 36 host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 44 \-*) ;; 48 cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` 54 wl='-Wl,' [all …]
|
| /external/libconfig/aux-build/ |
| D | config.rpath | 5 # Copyright 1996-2007 Free Software Foundation, Inc. 14 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM 16 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM 23 # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer 34 host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 35 host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 36 host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 44 \-*) ;; 48 cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` 54 wl='-Wl,' [all …]
|
| /external/compiler-rt/test/profile/ |
| D | instrprof-shared.test | 4 1. libt-instr.so is instrumented 5 2. libt-no-instr1.so is not instrumented 6 3. libt-no-instr2.so is built with profile rt linked in (via -u<hook>), but the object file is built 16 RUN: mkdir -p %t.d 17 RUN: %clang_profgen -o %t.d/libt-instr.so -fPIC -shared %S/Inputs/instrprof-shared-lib.c 18 RUN: %clang -o %t.d/libt-no-instr1.so -fPIC -shared %S/Inputs/instrprof-shared-lib.c 19 RUN: %clang -c -o %t.d/instrprof-shared-lib-no-instr2.o -fPIC %S/Inputs/instrprof-shared-lib.c 20 RUN: %clang_profgen -o %t.d/libt-no-instr2.so -fPIC -shared %t.d/instrprof-shared-lib-no-instr2.o 22 RUN: %clang_profgen -o %t-instr-instr -L%t.d -rpath %t.d -lt-instr %S/Inputs/instrprof-shared-main… 23 RUN: %clang_profgen -o %t-instr-no-instr1 -L%t.d -rpath %t.d -lt-no-instr1 %S/Inputs/instrprof-sha… [all …]
|
| /external/python/cpython3/kokoro/ |
| D | build.py | 39 cflags = ['-Wno-unused-command-line-argument'] 40 ldflags = ['-s'] 43 '--prefix={}'.format(install_dir), 44 '--enable-shared', 45 '--with-ensurepip=install', 52 config_cmd.append('--enable-universalsdk={}'.format(sdkroot)) 54 config_cmd.append('--enable-universalsdk') 55 config_cmd.append('--with-universal-archs=universal2') 58 cflags.append('-mmacosx-version-min={}'.format(MAC_MIN_VERSION)) 59 cflags.append('-DMACOSX_DEPLOYMENT_TARGET={}'.format(MAC_MIN_VERSION)) [all …]
|
| /external/angle/build/config/ios/ |
| D | BUILD.gn | 2 # Use of this source code is governed by a BSD-style license that can be 35 triplet_environment = "-simulator" 39 triplet_environment = "-macabi" 46 triplet_os = "apple-ios" 48 triplet_os = "apple-tvos" 53 "-target", 54 "$triplet_cpu-$triplet_os$ios_deployment_target$triplet_environment", 67 "-swift-version", 72 # When using -std=c++20 or higher, clang automatically returns true for 74 # because Objective-C code uses this to detect whether `@import` can be [all …]
|
| /external/eigen/cmake/ |
| D | FindGSL.cmake | 11 # on Unix/Linux with additional linker flags from "gsl-config --libs" 13 # CMAKE_GSL_CXX_FLAGS = Unix compiler flags for GSL, essentially "`gsl-config --cxxflags`" 17 # GSL_LINK_DIRECTORIES = link directories, useful for rpath on Unix 18 # GSL_EXE_LINKER_FLAGS = rpath on Unix 23 # www.mip.informatik.uni-kiel.de 24 # -------------------------------- 27 # JW tested with gsl-1.8, Windows XP, MSVS 7.1 89 CACHE STRING "preferred path to GSL (gsl-config)") 90 find_program(GSL_CONFIG gsl-config 98 set(GSL_CXX_FLAGS "`${GSL_CONFIG} --cflags`") [all …]
|
| /external/bazelbuild-rules_go/go/private/ |
| D | rpath.bzl | 7 # http://www.apache.org/licenses/LICENSE-2.0 40 # This is the case for local pre-built libraries, as well as local 48 """Returns the rpath linker flags for a library.""" 49 return ["-Wl,-rpath," + p for p in _rpath(go, *args, **kwargs)] 55 rpath = struct( 58 rpath = _rpath,
|
| /external/pytorch/.ci/pytorch/ |
| D | macos-common.sh | 3 # Common prelude for macos-build.sh and macos-test.sh 8 sysctl -a | grep machdep.cpu 21 # Print all libraries under cmake rpath for debugging 22 ls -la "$CONDA_INSTALLATION_DIR/../lib" 25 # Explicitly add conda env lib folder to cmake rpath to address the flaky issue 28 install_name_tool -add_rpath @executable_path/../lib "${CMAKE_EXEC}" || true 29 # Adding the rpath will invalidate cmake signature, so signing it again here 32 codesign -f -s - "${CMAKE_EXEC}" || true
|
| /external/tensorflow/tensorflow/tsl/platform/default/build_config/ |
| D | BUILD | 2 # Platform-specific build configurations. 135 linkopts = ["-framework IOKit"], 211 "-Wl,-rpath,../local_config_cuda/cuda/lib", 212 "-Wl,-rpath,../local_config_cuda/cuda/extras/CUPTI/lib", 215 "-Wl,-rpath,../local_config_cuda/cuda/lib64", 216 "-Wl,-rpath,../local_config_cuda/cuda/extras/CUPTI/lib64", 229 "-Wl,-rpath,../local_config_rocm/rocm/rocm/lib",
|
| /external/bazelbuild-rules_cc/tests/rule_based_toolchain/legacy_features_as_args/goldens/unix/ |
| D | runtime_library_search_directories.textproto | 3 actions: "c++-link-dynamic-library" 4 actions: "c++-link-executable" 5 actions: "c++-link-nodeps-dynamic-library" 6 actions: "lto-index-for-dynamic-library" 7 actions: "lto-index-for-executable" 8 actions: "lto-index-for-nodeps-dynamic-library" 14 flags: "-Xlinker" 15 flags: "-rpath" 16 flags: "-Xlinker" 21 flags: "-Xlinker" [all …]
|
| /external/bazelbuild-rules_cc/tests/rule_based_toolchain/legacy_features_as_args/goldens/macos/ |
| D | runtime_library_search_directories.textproto | 3 actions: "c++-link-dynamic-library" 4 actions: "c++-link-executable" 5 actions: "c++-link-nodeps-dynamic-library" 6 actions: "lto-index-for-dynamic-library" 7 actions: "lto-index-for-executable" 8 actions: "lto-index-for-nodeps-dynamic-library" 14 flags: "-Xlinker" 15 flags: "-rpath" 16 flags: "-Xlinker" 21 flags: "-Xlinker" [all …]
|
| /external/bazelbuild-rules_go/tests/core/cgo/ |
| D | generate_imported_dylib.sh | 3 set -exo pipefail 7 case "$(uname -s)" in 9 cc -shared -o libimported.so imported.c 10 cc -shared -o libversioned.so.2 imported.c 13 cc -shared -Wl,-install_name,@rpath/libimported.dylib -o libimported.dylib imported.c 16 cc -shared -Wl,-install_name,@rpath/libversioned.2.dylib -o libversioned.2.dylib imported.c 18 …# symlink (https://www.oracle.com/database/technologies/instant-client/macos-intel-x86-downloads.h… 19 # Let's cover this non-standard case as well. 20 cc -shared -Wl,-install_name,@rpath/libversioned.dylib.2 -o libversioned.dylib.2 imported.c 21 ln -fs libversioned.dylib.2 libversioned.dylib [all …]
|
| /external/ltp/testcases/network/nfs/nfs_stress/ |
| D | nfs07.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 26 echo "-n x Create x files and x directories, default is 5000" 33 local rpath=$(nfs_get_remote_path | sed -e 's/%/%%/g') 34 local file_fmt="$rpath/file%1.0f" 35 local dir_fmt="$rpath/dir%1.0f" 37 tst_rhost_run -s -c "touch \$(seq -f \"$file_fmt\" -s ' ' $FILE_COUNT)" 38 tst_rhost_run -s -c "mkdir \$(seq -f \"$dir_fmt\" -s ' ' $FILE_COUNT)" 45 # Pass the list of files through `sort -u` in case `ls` doesn't filter 47 count=$(ls | grep '^file' | sort -u | wc -l) 49 if [ $count -ne $FILE_COUNT ]; then [all …]
|
| /external/strace/ |
| D | pathtrace.c | 3 * Copyright (c) 2011-2018 The strace developers. 47 for (i = 0; i < set->num_selected; ++i) { in pathmatch() 48 if (strcmp(path, set->paths_selected[i]) == 0) in pathmatch() 55 * Return true if specified path (in user-space) matches. 89 if (set->num_selected >= set->size) in storepath() 90 set->paths_selected = in storepath() 91 xgrowarray(set->paths_selected, &set->size, in storepath() 92 sizeof(set->paths_selected[0])); in storepath() 94 set->paths_selected[set->num_selected++] = path; in storepath() 107 return -1; in getfdpath() [all …]
|
| /external/pytorch/.ci/docker/common/ |
| D | install_rocm_magma.sh | 4 set -ex 7 MKLROOT=${MKLROOT:-/opt/conda/envs/py_$ANACONDA_PYTHON_VERSION} 16 cp make.inc-examples/make.inc.hip-gcc-mkl make.inc 17 echo 'LIBDIR += -L$(MKLROOT)/lib' >> make.inc 18 if [[ -f "${MKLROOT}/lib/libmkl_core.a" ]]; then 19 …echo 'LIB = -Wl,--start-group -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -Wl,--end-group -lpthread … 21 echo 'LIB += -Wl,--enable-new-dtags -Wl,--rpath,/opt/rocm/lib -Wl,--rpath,$(MKLROOT)/lib -Wl,--rpat… 22 echo 'DEVCCFLAGS += --gpu-max-threads-per-block=256' >> make.inc 24 if [[ -n "$PYTORCH_ROCM_ARCH" ]]; then 27 amdgpu_targets=`rocm_agent_enumerator | grep -v gfx000 | sort -u | xargs` [all …]
|
| /external/crosvm/ |
| D | Android.bp | 10 // Added automatically by a large-scale-change that took the approach of 23 // See: http://go/android-license-faq 28 "SPDX-license-identifier-Apache-2.0", 29 "SPDX-license-identifier-BSD", 30 "SPDX-license-identifier-MIT", 48 "android-sparse", 54 "config-file", 157 relative_install_path: "aarch64-linux-bionic", 160 relative_install_path: "x86_64-linux-gnu", 163 relative_install_path: "x86_64-linux-musl", [all …]
|