+29
pkgs/development/compilers/llvm/git/bintools/default.nix
+29
pkgs/development/compilers/llvm/git/bintools/default.nix
···
+123
pkgs/development/compilers/llvm/git/clang/default.nix
+123
pkgs/development/compilers/llvm/git/clang/default.nix
···+"-DLLVM_CONFIG_PATH=${libllvm.dev}/bin/llvm-config${lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) "-native"}"
+235
pkgs/development/compilers/llvm/git/clang/gnu-install-dirs.patch
+235
pkgs/development/compilers/llvm/git/clang/gnu-install-dirs.patch
···++set(header_install_dir ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}/include)+@@ -10,7 +10,7 @@ add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin/${CLANG_HM
+28
pkgs/development/compilers/llvm/git/clang/purity.patch
+28
pkgs/development/compilers/llvm/git/clang/purity.patch
···+@@ -487,12 +487,6 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA,
+23
pkgs/development/compilers/llvm/git/compiler-rt/X86-support-extension.patch
+23
pkgs/development/compilers/llvm/git/compiler-rt/X86-support-extension.patch
···
+32
pkgs/development/compilers/llvm/git/compiler-rt/armv7l.patch
+32
pkgs/development/compilers/llvm/git/compiler-rt/armv7l.patch
···+diff -ur compiler-rt-10.0.0.src/cmake/builtin-config-ix.cmake compiler-rt-10.0.0.src-patched/cmake/builtin-config-ix.cmake++++ compiler-rt-10.0.0.src-patched/cmake/builtin-config-ix.cmake 2020-05-10 03:42:00.883450706 +0900+diff -ur compiler-rt-10.0.0.src/lib/builtins/CMakeLists.txt compiler-rt-10.0.0.src-patched/lib/builtins/CMakeLists.txt++++ compiler-rt-10.0.0.src-patched/lib/builtins/CMakeLists.txt 2020-05-10 03:44:49.468579650 +0900+check_compile_definition(__VFP_FP__ "${CMAKE_C_FLAGS} ${_TARGET_${arch}_CFLAGS}" COMPILER_RT_HAS_${arch}_VFP)
+33
pkgs/development/compilers/llvm/git/compiler-rt/codesign.patch
+33
pkgs/development/compilers/llvm/git/compiler-rt/codesign.patch
···
+113
pkgs/development/compilers/llvm/git/compiler-rt/default.nix
+113
pkgs/development/compilers/llvm/git/compiler-rt/default.nix
···+#https://stackoverflow.com/questions/53633705/cmake-the-c-compiler-is-not-able-to-compile-a-simple-test-program+# TSAN requires XPC on Darwin, which we have no public/free source files for. We can depend on the Apple frameworks+# to get it, but they're unfree. Since LLVM is rather central to the stdenv, we patch out TSAN support so that Hydra+# can build this. If we didn't do it, basically the entire nixpkgs on Darwin would have an unfree dependency and we'd+# get no binary cache for the entire platform. If you really find yourself wanting the TSAN, make this controllable by+postInstall = lib.optionalString (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isWasm) ''
+129
pkgs/development/compilers/llvm/git/compiler-rt/gnu-install-dirs.patch
+129
pkgs/development/compilers/llvm/git/compiler-rt/gnu-install-dirs.patch
···+PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE+diff --git a/cmake/Modules/CompilerRTDarwinUtils.cmake b/cmake/Modules/CompilerRTDarwinUtils.cmake++ set(${install_dir} ${COMPILER_RT_INSTALL_PATH}/${CMAKE_INSTALL_FULL_LIBDIR}/${target} PARENT_SCOPE)++ "Prefix where built compiler-rt artifacts should be installed, comes before CMAKE_INSTALL_PREFIX.")+@@ -69,22 +69,22 @@ set_target_properties(compiler-rt-headers PROPERTIES FOLDER "Compiler-RT Misc")
+16
pkgs/development/compilers/llvm/git/compiler-rt/normalize-var.patch
+16
pkgs/development/compilers/llvm/git/compiler-rt/normalize-var.patch
···+diff --git a/compiler-rt/cmake/Modules/CompilerRTUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
+412
pkgs/development/compilers/llvm/git/compiler-rt/sanitizers-nongnu.patch
+412
pkgs/development/compilers/llvm/git/compiler-rt/sanitizers-nongnu.patch
···+https://gist.githubusercontent.com/pwaller/2337f3290f12634cad3e3730cff0a6c1/raw/83c87a8585e2f9662494db5662e5361beb093c26/nongnu.patch+diff --git a/lib/sanitizer_common/sanitizer_allocator.cc b/lib/sanitizer_common/sanitizer_allocator.cc+diff --git a/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc b/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc+diff --git a/lib/sanitizer_common/sanitizer_common_syscalls.inc b/lib/sanitizer_common/sanitizer_common_syscalls.inc+diff --git a/lib/sanitizer_common/sanitizer_linux.cc b/lib/sanitizer_common/sanitizer_linux.cc+diff --git a/lib/sanitizer_common/sanitizer_linux_libcdep.cc b/lib/sanitizer_common/sanitizer_linux_libcdep.cc+@@ -179,7 +179,7 @@ __attribute__((unused)) static bool GetLibcVersion(int *major, int *minor,+diff --git a/lib/sanitizer_common/sanitizer_platform.h b/lib/sanitizer_common/sanitizer_platform.h+diff --git a/lib/sanitizer_common/sanitizer_platform_interceptors.h b/lib/sanitizer_common/sanitizer_platform_interceptors.h+diff --git a/lib/sanitizer_common/sanitizer_platform_limits_posix.cc b/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
+268
pkgs/development/compilers/llvm/git/default.nix
+268
pkgs/development/compilers/llvm/git/default.nix
···+version = "${release_version}${dash-candidate}"; # differentiating these (variables) is important for RCs+callPackage = newScope (tools // { inherit stdenv cmake libxml2 python3 isl release_version version src buildLlvmTools; });+'' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) ''+callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv cmake libxml2 python3 isl release_version version src; });
+54
pkgs/development/compilers/llvm/git/libcxx/default.nix
+54
pkgs/development/compilers/llvm/git/libcxx/default.nix
···+] ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) "-DLIBCXX_HAS_MUSL_LIBC=1"
+100
pkgs/development/compilers/llvm/git/libcxx/gnu-install-dirs.patch
+100
pkgs/development/compilers/llvm/git/libcxx/gnu-install-dirs.patch
···++ set(LIBCXX_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++)
+73
pkgs/development/compilers/llvm/git/libcxxabi/default.nix
+73
pkgs/development/compilers/llvm/git/libcxxabi/default.nix
···+buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm) libunwind;
+34
pkgs/development/compilers/llvm/git/libcxxabi/gnu-install-dirs.patch
+34
pkgs/development/compilers/llvm/git/libcxxabi/gnu-install-dirs.patch
···+- set(LIBCXXABI_INSTALL_LIBRARY_DIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++)++ set(LIBCXXABI_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++)
+16
pkgs/development/compilers/llvm/git/libcxxabi/wasm.patch
+16
pkgs/development/compilers/llvm/git/libcxxabi/wasm.patch
···
+33
pkgs/development/compilers/llvm/git/libunwind/default.nix
+33
pkgs/development/compilers/llvm/git/libunwind/default.nix
···
+34
pkgs/development/compilers/llvm/git/libunwind/gnu-install-dirs.patch
+34
pkgs/development/compilers/llvm/git/libunwind/gnu-install-dirs.patch
···+- set(LIBUNWIND_INSTALL_LIBRARY_DIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++)++ set(LIBUNWIND_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++)
+44
pkgs/development/compilers/llvm/git/lld/default.nix
+44
pkgs/development/compilers/llvm/git/lld/default.nix
···+"-DLLVM_CONFIG_PATH=${libllvm.dev}/bin/llvm-config${lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) "-native"}"
+68
pkgs/development/compilers/llvm/git/lld/gnu-install-dirs.patch
+68
pkgs/development/compilers/llvm/git/lld/gnu-install-dirs.patch
···
+131
pkgs/development/compilers/llvm/git/lldb/default.nix
+131
pkgs/development/compilers/llvm/git/lldb/default.nix
···+install -D ../tools/lldb-vscode/package.json $out/share/vscode/extensions/llvm-org.lldb-vscode-0.1.0/package.json
+65
pkgs/development/compilers/llvm/git/lldb/gnu-install-dirs.patch
+65
pkgs/development/compilers/llvm/git/lldb/gnu-install-dirs.patch
···
+31
pkgs/development/compilers/llvm/git/lldb/procfs.patch
+31
pkgs/development/compilers/llvm/git/lldb/procfs.patch
···
+13
pkgs/development/compilers/llvm/git/lldb/resource-dir.patch
+13
pkgs/development/compilers/llvm/git/lldb/resource-dir.patch
···
+220
pkgs/development/compilers/llvm/git/llvm/default.nix
+220
pkgs/development/compilers/llvm/git/llvm/default.nix
···+--replace 'set(_install_rpath "@loader_path/../''${CMAKE_INSTALL_LIBDIR}''${LLVM_LIBDIR_SUFFIX}" ''${extra_libdir})' ""+substituteInPlace "$dev/lib/cmake/llvm/LLVMExports-${if debugVersion then "debug" else "release"}.cmake" \+--replace 'set(LLVM_BINARY_DIR "''${LLVM_INSTALL_PREFIX}")' 'set(LLVM_BINARY_DIR "''${LLVM_INSTALL_PREFIX}'"$lib"'")'
+105
pkgs/development/compilers/llvm/git/llvm/gnu-install-dirs-polly.patch
+105
pkgs/development/compilers/llvm/git/llvm/gnu-install-dirs-polly.patch
···++set(POLLY_CONFIG_CMAKE_DIR "${POLLY_INSTALL_PREFIX}${CMAKE_INSTALL_PREFIX}/${POLLY_INSTALL_PACKAGE_DIR}")++set(POLLY_CONFIG_LIBRARY_DIRS "${POLLY_INSTALL_PREFIX}${CMAKE_INSTALL_FULL_LIBDIR}${LLVM_LIBDIR_SUFFIX}")
+417
pkgs/development/compilers/llvm/git/llvm/gnu-install-dirs.patch
+417
pkgs/development/compilers/llvm/git/llvm/gnu-install-dirs.patch
···+-set(LLVM_TOOLS_INSTALL_DIR "bin" CACHE STRING "Path for binary subdirectory (defaults to 'bin')")+"Path to install LLVM utilities (enabled by LLVM_INSTALL_UTILS=ON) (defaults to LLVM_TOOLS_INSTALL_DIR)")++set(LLVM_INSTALL_CMAKE_DIR "${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/cmake/llvm" CACHE STRING+set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})+@@ -567,9 +573,9 @@ option (LLVM_ENABLE_SPHINX "Use Sphinx to generate llvm documentation." OFF)++ set(_install_rpath "@loader_path/../${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})++ set(_install_rpath "\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})++set(LLVM_INSTALL_PACKAGE_DIR ${LLVM_INSTALL_CMAKE_DIR} CACHE STRING "Path for CMake subdirectory (defaults to 'cmake/llvm')")++set(LLVM_CONFIG_LIBRARY_DIRS "\${LLVM_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}\${LLVM_LIBDIR_SUFFIX}")+@@ -786,9 +806,11 @@ the ``cmake`` command or by setting it directly in ``ccmake`` or ``cmake-gui``).+diff --git a/tools/llvm-config/BuildVariables.inc.in b/tools/llvm-config/BuildVariables.inc.in
+26
pkgs/development/compilers/llvm/git/llvm/outputs.patch
+26
pkgs/development/compilers/llvm/git/llvm/outputs.patch
···
+35
pkgs/development/compilers/llvm/git/openmp/default.nix
+35
pkgs/development/compilers/llvm/git/openmp/default.nix
···
+7
pkgs/top-level/aliases.nix
+7
pkgs/top-level/aliases.nix
···