+2
doc/release-notes/rl-2511.section.md
+2
doc/release-notes/rl-2511.section.md
···- GCC 9, 10, 11, and 12 have been removed, as they have reached end‐of‐life upstream and are no longer supported.+- LLVM 12, 13, 14, 15, 16, and 17 have been removed, as they have reached end‐of‐life upstream and are no longer supported.- GHCJS 8.10, exposed via `haskell.compiler.ghcjs` and `haskell.compiler.ghcjs810`, has been removed. Downstream users should migrate their projects to the new JavaScript backend of GHC proper which can be used via `pkgsCross.ghcjs` from Nixpkgs. Haskell packaging code, like `haskellPackages.mkDerivation`, `ghcWithPackages` and `hoogleWithPackages`, also no longer supports GHCJS.
-44
pkgs/by-name/bf/bfc/package.nix
-44
pkgs/by-name/bf/bfc/package.nix
···
-53
pkgs/by-name/da/dale/package.nix
-53
pkgs/by-name/da/dale/package.nix
···
-64
pkgs/by-name/ho/hobbes/package.nix
-64
pkgs/by-name/ho/hobbes/package.nix
···
-42
pkgs/by-name/oc/oclgrind/package.nix
-42
pkgs/by-name/oc/oclgrind/package.nix
···
-45
pkgs/by-name/qr/qrscan/package.nix
-45
pkgs/by-name/qr/qrscan/package.nix
···
+6
-5
pkgs/by-name/sh/shader-slang/package.nix
+6
-5
pkgs/by-name/sh/shader-slang/package.nix
·········
+2
-28
pkgs/by-name/sp/spirv-llvm-translator/package.nix
+2
-28
pkgs/by-name/sp/spirv-llvm-translator/package.nix
······-url = "https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commit/cce9a2f130070d799000cac42fe24789d2b777ab.patch";
-32
pkgs/by-name/wa/wavm/package.nix
-32
pkgs/by-name/wa/wavm/package.nix
···
-44
pkgs/development/compilers/cone/default.nix
-44
pkgs/development/compilers/cone/default.nix
···
+4
pkgs/development/compilers/fpc/default.nix
+4
pkgs/development/compilers/fpc/default.nix
···
+2
pkgs/development/compilers/ghc/common-hadrian.nix
+2
pkgs/development/compilers/ghc/common-hadrian.nix
···
+2
pkgs/development/compilers/ghc/common-make-native-bignum.nix
+2
pkgs/development/compilers/ghc/common-make-native-bignum.nix
-235
pkgs/development/compilers/llvm/12/clang/gnu-install-dirs.patch
-235
pkgs/development/compilers/llvm/12/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/12/clang/purity.patch
-28
pkgs/development/compilers/llvm/12/clang/purity.patch
···-@@ -487,12 +487,6 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA,
-21
pkgs/development/compilers/llvm/12/compiler-rt/X86-support-extension.patch
-21
pkgs/development/compilers/llvm/12/compiler-rt/X86-support-extension.patch
···
-32
pkgs/development/compilers/llvm/12/compiler-rt/armv7l.patch
-32
pkgs/development/compilers/llvm/12/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/12/compiler-rt/codesign.patch
-33
pkgs/development/compilers/llvm/12/compiler-rt/codesign.patch
···
-129
pkgs/development/compilers/llvm/12/compiler-rt/gnu-install-dirs.patch
-129
pkgs/development/compilers/llvm/12/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/12/compiler-rt/normalize-var.patch
-16
pkgs/development/compilers/llvm/12/compiler-rt/normalize-var.patch
···-diff --git a/compiler-rt/cmake/Modules/CompilerRTUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTUtils.cmake
-34
pkgs/development/compilers/llvm/12/libunwind/gnu-install-dirs.patch
-34
pkgs/development/compilers/llvm/12/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++)
-68
pkgs/development/compilers/llvm/12/lld/gnu-install-dirs.patch
-68
pkgs/development/compilers/llvm/12/lld/gnu-install-dirs.patch
···
-110
pkgs/development/compilers/llvm/12/lldb/gnu-install-dirs.patch
-110
pkgs/development/compilers/llvm/12/lldb/gnu-install-dirs.patch
···--set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})-set(lldb_python_target_dir "${LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR}/LLDB.framework/Resources/Python/lldb")-- set(lldb_python_target_dir "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${LLDB_PYTHON_RELATIVE_PATH}/lldb")--if(LLDB_ENABLE_PYTHON AND (BUILD_SHARED_LIBS OR LLVM_LINK_LLVM_DYLIB) AND UNIX AND NOT APPLE)-- set_property(TARGET liblldb APPEND PROPERTY INSTALL_RPATH "\$ORIGIN/../../../../lib${LLVM_LIBDIR_SUFFIX}")
-31
pkgs/development/compilers/llvm/12/lldb/procfs.patch
-31
pkgs/development/compilers/llvm/12/lldb/procfs.patch
···
-13
pkgs/development/compilers/llvm/12/lldb/resource-dir.patch
-13
pkgs/development/compilers/llvm/12/lldb/resource-dir.patch
···
-13
pkgs/development/compilers/llvm/12/llvm/fix-llvm-issue-49955.patch
-13
pkgs/development/compilers/llvm/12/llvm/fix-llvm-issue-49955.patch
···
-105
pkgs/development/compilers/llvm/12/llvm/gnu-install-dirs-polly.patch
-105
pkgs/development/compilers/llvm/12/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/12/llvm/gnu-install-dirs.patch
-417
pkgs/development/compilers/llvm/12/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
-19
pkgs/development/compilers/llvm/12/llvm/no-pipes.patch
-19
pkgs/development/compilers/llvm/12/llvm/no-pipes.patch
···
-78
pkgs/development/compilers/llvm/13/clang/revert-malloc-alignment-assumption.patch
-78
pkgs/development/compilers/llvm/13/clang/revert-malloc-alignment-assumption.patch
···--// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm < %s | FileCheck %s --check-prefix=ALIGN16--// RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm < %s | FileCheck %s --check-prefix=ALIGN16--// RUN: %clang_cc1 -triple i386-apple-darwin -emit-llvm < %s | FileCheck %s --check-prefix=ALIGN16--// RUN: %clang_cc1 -triple i386-unknown-linux-gnu -emit-llvm < %s | FileCheck %s --check-prefix=ALIGN8--// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fno-builtin-malloc -emit-llvm < %s | FileCheck %s --check-prefix=NOBUILTIN-MALLOC--// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fno-builtin-calloc -emit-llvm < %s | FileCheck %s --check-prefix=NOBUILTIN-CALLOC--// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fno-builtin-realloc -emit-llvm < %s | FileCheck %s --check-prefix=NOBUILTIN-REALLOC
-31
pkgs/development/compilers/llvm/13/compiler-rt/armv7l.patch
-31
pkgs/development/compilers/llvm/13/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-+set(ARM32 arm armhf armv6m armv7m armv7em armv7 armv7s armv7k armv7l armv8m.main armv8.1m.main)-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-- if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7m|armv7em|armv8m.main|armv8.1m.main)$")-+ if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7l|armv7m|armv7em|armv8m.main|armv8.1m.main)$")-check_compile_definition(__VFP_FP__ "${CMAKE_C_FLAGS} ${_TARGET_${arch}_CFLAGS}" COMPILER_RT_HAS_${arch}_VFP)
-33
pkgs/development/compilers/llvm/13/compiler-rt/codesign.patch
-33
pkgs/development/compilers/llvm/13/compiler-rt/codesign.patch
···
-71
pkgs/development/compilers/llvm/13/compiler-rt/darwin-targetconditionals.patch
-71
pkgs/development/compilers/llvm/13/compiler-rt/darwin-targetconditionals.patch
···
-36
pkgs/development/compilers/llvm/13/libunwind/gnu-install-dirs.patch
-36
pkgs/development/compilers/llvm/13/libunwind/gnu-install-dirs.patch
···-- set(LIBUNWIND_INSTALL_LIBRARY_DIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE} CACHE PATH-+ set(LIBUNWIND_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE} CACHE PATH
-110
pkgs/development/compilers/llvm/13/lldb/gnu-install-dirs.patch
-110
pkgs/development/compilers/llvm/13/lldb/gnu-install-dirs.patch
···--set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})-set(lldb_python_target_dir "${LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR}/LLDB.framework/Resources/Python/lldb")-- set(lldb_python_target_dir "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${LLDB_PYTHON_RELATIVE_PATH}/lldb")--if(LLDB_ENABLE_PYTHON AND (BUILD_SHARED_LIBS OR LLVM_LINK_LLVM_DYLIB) AND UNIX AND NOT APPLE)-- set_property(TARGET liblldb APPEND PROPERTY INSTALL_RPATH "\$ORIGIN/../../../../lib${LLVM_LIBDIR_SUFFIX}")
-381
pkgs/development/compilers/llvm/13/llvm/gnu-install-dirs.patch
-381
pkgs/development/compilers/llvm/13/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})-@@ -581,9 +587,9 @@ option (LLVM_ENABLE_SPHINX "Use Sphinx to generate llvm documentation." OFF)-- set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-+ set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_PREFIX}/${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}")-@@ -792,9 +792,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-@@ -33,7 +33,7 @@ add_llvm_library(${LTO_LIBRARY_NAME} ${LTO_LIBRARY_TYPE} INSTALL_WITH_TOOLCHAIN
-50
pkgs/development/compilers/llvm/14/clang/gnu-install-dirs.patch
-50
pkgs/development/compilers/llvm/14/clang/gnu-install-dirs.patch
···-+set(header_install_dir ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}/include)
-65
pkgs/development/compilers/llvm/14/compiler-rt/armv6-scudo-libatomic.patch
-65
pkgs/development/compilers/llvm/14/compiler-rt/armv6-scudo-libatomic.patch
···-diff --git a/lib/scudo/standalone/tests/CMakeLists.txt b/lib/scudo/standalone/tests/CMakeLists.txt
-42
pkgs/development/compilers/llvm/14/compiler-rt/gnu-install-dirs.patch
-42
pkgs/development/compilers/llvm/14/compiler-rt/gnu-install-dirs.patch
···-+ extend_path(default_install_path "${COMPILER_RT_INSTALL_PATH}" "${CMAKE_INSTALL_LIBDIR}/${COMPILER_RT_OS_DIR}")
-21
pkgs/development/compilers/llvm/14/libunwind/gnu-install-dirs.patch
-21
pkgs/development/compilers/llvm/14/libunwind/gnu-install-dirs.patch
···-- set(LIBUNWIND_INSTALL_LIBRARY_DIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE} CACHE PATH-+ set(LIBUNWIND_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE} CACHE PATH-+ set(LIBUNWIND_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LIBUNWIND_LIBDIR_SUFFIX} CACHE PATH
-13
pkgs/development/compilers/llvm/14/lld/fix-root-src-dir.patch
-13
pkgs/development/compilers/llvm/14/lld/fix-root-src-dir.patch
···-+ set(LLVM_MAIN_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../llvm" CACHE PATH "Path to LLVM source tree")
-22
pkgs/development/compilers/llvm/14/lld/gnu-install-dirs.patch
-22
pkgs/development/compilers/llvm/14/lld/gnu-install-dirs.patch
···
-19
pkgs/development/compilers/llvm/14/llvm/gnu-install-dirs-polly.patch
-19
pkgs/development/compilers/llvm/14/llvm/gnu-install-dirs-polly.patch
···
-220
pkgs/development/compilers/llvm/14/llvm/gnu-install-dirs.patch
-220
pkgs/development/compilers/llvm/14/llvm/gnu-install-dirs.patch
···-+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})-- set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-+ set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_PREFIX}/${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')")-+extend_path(LLVM_CONFIG_LIBRARY_DIR "\${LLVM_INSTALL_PREFIX}" "${CMAKE_INSTALL_LIBDIR}\${LLVM_LIBDIR_SUFFIX}")-@@ -910,9 +910,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
-45
pkgs/development/compilers/llvm/14/openmp/gnu-install-dirs.patch
-45
pkgs/development/compilers/llvm/14/openmp/gnu-install-dirs.patch
···-diff --git a/libomptarget/plugins/amdgpu/CMakeLists.txt b/libomptarget/plugins/amdgpu/CMakeLists.txt-+install(TARGETS omptarget.rtl.amdgpu LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}${OPENMP_LIBDIR_SUFFIX}")
-12
pkgs/development/compilers/llvm/14/openmp/run-lit-directly.patch
-12
pkgs/development/compilers/llvm/14/openmp/run-lit-directly.patch
···-- COMMAND ${PYTHON_EXECUTABLE} ${OPENMP_LLVM_LIT_EXECUTABLE} ${LIT_ARGS} ${ARG_UNPARSED_ARGUMENTS}
-105
pkgs/development/compilers/llvm/15/clang/gnu-install-dirs.patch
-105
pkgs/development/compilers/llvm/15/clang/gnu-install-dirs.patch
···-+ set(LLVM_INCLUDE_DIRS ${INCLUDE_DIRS} CACHE PATH "Path to llvm/include and any other header dirs needed")-+set(header_install_dir ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}/include)
-29
pkgs/development/compilers/llvm/15/clang/purity.patch
-29
pkgs/development/compilers/llvm/15/clang/purity.patch
···-@@ -487,13 +487,7 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA,
pkgs/development/compilers/llvm/15/compiler-rt/X86-support-extension.patch
pkgs/development/compilers/llvm/18/compiler-rt/X86-support-extension.patch
pkgs/development/compilers/llvm/15/compiler-rt/X86-support-extension.patch
pkgs/development/compilers/llvm/18/compiler-rt/X86-support-extension.patch
pkgs/development/compilers/llvm/15/compiler-rt/armv6-scudo-libatomic.patch
pkgs/development/compilers/llvm/18/compiler-rt/armv6-scudo-libatomic.patch
pkgs/development/compilers/llvm/15/compiler-rt/armv6-scudo-libatomic.patch
pkgs/development/compilers/llvm/18/compiler-rt/armv6-scudo-libatomic.patch
-20
pkgs/development/compilers/llvm/15/compiler-rt/gnu-install-dirs.patch
-20
pkgs/development/compilers/llvm/15/compiler-rt/gnu-install-dirs.patch
···-+ extend_path(default_install_path "${COMPILER_RT_INSTALL_PATH}" "${CMAKE_INSTALL_LIBDIR}/${COMPILER_RT_OS_DIR}")
-22
pkgs/development/compilers/llvm/15/libunwind/gnu-install-dirs.patch
-22
pkgs/development/compilers/llvm/15/libunwind/gnu-install-dirs.patch
···-- set(LIBUNWIND_INSTALL_LIBRARY_DIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE} CACHE PATH-+ set(LIBUNWIND_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE} CACHE PATH-+ set(LIBUNWIND_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LIBUNWIND_LIBDIR_SUFFIX} CACHE PATH
-46
pkgs/development/compilers/llvm/15/lld/gnu-install-dirs.patch
-46
pkgs/development/compilers/llvm/15/lld/gnu-install-dirs.patch
···-+ set(LLVM_INCLUDE_DIRS ${INCLUDE_DIRS} CACHE PATH "Path to llvm/include and any other header dirs needed")
-46
pkgs/development/compilers/llvm/15/lldb/procfs.patch
-46
pkgs/development/compilers/llvm/15/lldb/procfs.patch
···
-138
pkgs/development/compilers/llvm/15/llvm/gnu-install-dirs.patch
-138
pkgs/development/compilers/llvm/15/llvm/gnu-install-dirs.patch
···-+ set(_install_rpath "@loader_path/../${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-- set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-+ set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_FULL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-+ set(_install_rpath "\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-+extend_path(LLVM_CONFIG_LIBRARY_DIR "\${LLVM_INSTALL_PREFIX}" "${CMAKE_INSTALL_LIBDIR}\${LLVM_LIBDIR_SUFFIX}")-diff --git a/tools/llvm-config/BuildVariables.inc.in b/tools/llvm-config/BuildVariables.inc.in
-26
pkgs/development/compilers/llvm/15/llvm/lit-shell-script-runner-set-dyld-library-path.patch
-26
pkgs/development/compilers/llvm/15/llvm/lit-shell-script-runner-set-dyld-library-path.patch
···
-79
pkgs/development/compilers/llvm/15/llvm/llvm-lit-cfg-add-libs-to-dylib-path.patch
-79
pkgs/development/compilers/llvm/15/llvm/llvm-lit-cfg-add-libs-to-dylib-path.patch
···-@@ -42,6 +42,26 @@ llvm_config.with_environment('PATH', config.llvm_tools_dir, append_path=True)
pkgs/development/compilers/llvm/15/llvm/polly-lit-cfg-add-libs-to-dylib-path.patch
pkgs/development/compilers/llvm/18/llvm/polly-lit-cfg-add-libs-to-dylib-path.patch
pkgs/development/compilers/llvm/15/llvm/polly-lit-cfg-add-libs-to-dylib-path.patch
pkgs/development/compilers/llvm/18/llvm/polly-lit-cfg-add-libs-to-dylib-path.patch
-18
pkgs/development/compilers/llvm/15/openmp/fix-find-tool.patch
-18
pkgs/development/compilers/llvm/15/openmp/fix-find-tool.patch
···-libomptarget_say("Not building DeviceRTL. Missing clang: ${CLANG_TOOL}, llvm-link: ${LINK_TOOL} or opt: ${OPT_TOOL}")
-22
pkgs/development/compilers/llvm/15/openmp/gnu-install-dirs.patch
-22
pkgs/development/compilers/llvm/15/openmp/gnu-install-dirs.patch
···
-109
pkgs/development/compilers/llvm/16/clang/gnu-install-dirs.patch
-109
pkgs/development/compilers/llvm/16/clang/gnu-install-dirs.patch
···-- set(LLVM_INCLUDE_DIRS ${LLVM_INCLUDE_DIRS} CACHE PATH "Path to llvm/include and any other header dirs needed")-- set(LLVM_MAIN_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../llvm" CACHE PATH "Path to LLVM source tree")-+ set(LLVM_INCLUDE_DIRS ${INCLUDE_DIRS} CACHE PATH "Path to llvm/include and any other header dirs needed")-+set(header_install_dir ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION_MAJOR}/include)
-11
pkgs/development/compilers/llvm/16/compiler-rt/asan-offset.patch
-11
pkgs/development/compilers/llvm/16/compiler-rt/asan-offset.patch
···
-21
pkgs/development/compilers/llvm/16/compiler-rt/freebsd-i386.patch
-21
pkgs/development/compilers/llvm/16/compiler-rt/freebsd-i386.patch
···
pkgs/development/compilers/llvm/16/compiler-rt/normalize-var.patch
pkgs/development/compilers/llvm/18/compiler-rt/normalize-var.patch
pkgs/development/compilers/llvm/16/compiler-rt/normalize-var.patch
pkgs/development/compilers/llvm/18/compiler-rt/normalize-var.patch
pkgs/development/compilers/llvm/16/libclc/gnu-install-dirs.patch
pkgs/development/compilers/llvm/18/libclc/gnu-install-dirs.patch
pkgs/development/compilers/llvm/16/libclc/gnu-install-dirs.patch
pkgs/development/compilers/llvm/18/libclc/gnu-install-dirs.patch
-190
pkgs/development/compilers/llvm/16/lld/add-table-base.patch
-190
pkgs/development/compilers/llvm/16/lld/add-table-base.patch
···-HelpText<"Import the module's memory from the default module of \"env\" with the name \"memory\".">;
-46
pkgs/development/compilers/llvm/16/lld/gnu-install-dirs.patch
-46
pkgs/development/compilers/llvm/16/lld/gnu-install-dirs.patch
···-- set(LLVM_INCLUDE_DIRS ${LLVM_INCLUDE_DIRS} CACHE PATH "Path to llvm/include and any other header dirs needed")-- set(LLVM_MAIN_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../llvm" CACHE PATH "Path to LLVM source tree")-+ set(LLVM_INCLUDE_DIRS ${INCLUDE_DIRS} CACHE PATH "Path to llvm/include and any other header dirs needed")
-14
pkgs/development/compilers/llvm/16/lldb/resource-dir.patch
-14
pkgs/development/compilers/llvm/16/lldb/resource-dir.patch
···
-161
pkgs/development/compilers/llvm/16/llvm/gnu-install-dirs.patch
-161
pkgs/development/compilers/llvm/16/llvm/gnu-install-dirs.patch
···-+ set(_install_rpath "@loader_path/../${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-- set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-+ set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_FULL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-+ set(_install_rpath "\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-+extend_path(LLVM_CONFIG_LIBRARY_DIR "\${LLVM_INSTALL_PREFIX}" "${CMAKE_INSTALL_LIBDIR}\${LLVM_LIBDIR_SUFFIX}")-diff --git a/tools/llvm-config/BuildVariables.inc.in b/tools/llvm-config/BuildVariables.inc.in
-17
pkgs/development/compilers/llvm/16/llvm/lit-shell-script-runner-set-dyld-library-path.patch
-17
pkgs/development/compilers/llvm/16/llvm/lit-shell-script-runner-set-dyld-library-path.patch
···
-79
pkgs/development/compilers/llvm/16/llvm/llvm-lit-cfg-add-libs-to-dylib-path.patch
-79
pkgs/development/compilers/llvm/16/llvm/llvm-lit-cfg-add-libs-to-dylib-path.patch
···-@@ -42,6 +42,26 @@ llvm_config.with_environment('PATH', config.llvm_tools_dir, append_path=True)
-21
pkgs/development/compilers/llvm/16/openmp/fix-find-tool.patch
-21
pkgs/development/compilers/llvm/16/openmp/fix-find-tool.patch
···-- find_program(PACKAGER_TOOL clang-offload-packager PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH)-if ((NOT CLANG_TOOL) OR (NOT LINK_TOOL) OR (NOT OPT_TOOL) OR (NOT EXTRACT_TOOL) OR (NOT PACKAGER_TOOL))-libomptarget_say("Not building DeviceRTL. Missing clang: ${CLANG_TOOL}, llvm-link: ${LINK_TOOL}, opt: ${OPT_TOOL}, llvm-extract: ${EXTRACT_TOOL}, or clang-offload-packager: ${PACKAGER_TOOL}")
-22
pkgs/development/compilers/llvm/16/openmp/gnu-install-dirs.patch
-22
pkgs/development/compilers/llvm/16/openmp/gnu-install-dirs.patch
···
pkgs/development/compilers/llvm/16/openmp/run-lit-directly.patch
pkgs/development/compilers/llvm/18/openmp/run-lit-directly.patch
pkgs/development/compilers/llvm/16/openmp/run-lit-directly.patch
pkgs/development/compilers/llvm/18/openmp/run-lit-directly.patch
-39
pkgs/development/compilers/llvm/17/clang/aarch64-tblgen.patch
-39
pkgs/development/compilers/llvm/17/clang/aarch64-tblgen.patch
···
-98
pkgs/development/compilers/llvm/17/clang/gnu-install-dirs.patch
-98
pkgs/development/compilers/llvm/17/clang/gnu-install-dirs.patch
···-set(LLVM_INCLUDE_DIRS ${LLVM_INCLUDE_DIRS} CACHE PATH "Path to llvm/include and any other header dirs needed")-set(LLVM_MAIN_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../llvm" CACHE PATH "Path to LLVM source tree")-+set(header_install_dir ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/${CLANG_VERSION_MAJOR}/include)
-29
pkgs/development/compilers/llvm/17/clang/purity.patch
-29
pkgs/development/compilers/llvm/17/clang/purity.patch
···-@@ -487,13 +487,7 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA,
-20
pkgs/development/compilers/llvm/17/compiler-rt/gnu-install-dirs.patch
-20
pkgs/development/compilers/llvm/17/compiler-rt/gnu-install-dirs.patch
···-+ extend_path(default_install_path "${COMPILER_RT_INSTALL_PATH}" "${CMAKE_INSTALL_LIBDIR}/${COMPILER_RT_OS_DIR}")
-46
pkgs/development/compilers/llvm/17/lld/gnu-install-dirs.patch
-46
pkgs/development/compilers/llvm/17/lld/gnu-install-dirs.patch
···-- set(LLVM_INCLUDE_DIRS ${LLVM_INCLUDE_DIRS} CACHE PATH "Path to llvm/include and any other header dirs needed")-- set(LLVM_MAIN_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../llvm" CACHE PATH "Path to LLVM source tree")-+ set(LLVM_INCLUDE_DIRS ${INCLUDE_DIRS} CACHE PATH "Path to llvm/include and any other header dirs needed")
-137
pkgs/development/compilers/llvm/17/llvm/gnu-install-dirs.patch
-137
pkgs/development/compilers/llvm/17/llvm/gnu-install-dirs.patch
···-+ set(_install_rpath "@loader_path/../${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-- set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-+ set(_install_rpath "${LLVM_LIBRARY_OUTPUT_INTDIR}" "${CMAKE_INSTALL_FULL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})-+extend_path(LLVM_CONFIG_LIBRARY_DIR "\${LLVM_INSTALL_PREFIX}" "${CMAKE_INSTALL_LIBDIR}\${LLVM_LIBDIR_SUFFIX}")-diff --git a/tools/llvm-config/BuildVariables.inc.in b/tools/llvm-config/BuildVariables.inc.in
pkgs/development/compilers/llvm/17/llvm/llvm-lit-cfg-add-libs-to-dylib-path.patch
pkgs/development/compilers/llvm/18/llvm/llvm-lit-cfg-add-libs-to-dylib-path.patch
pkgs/development/compilers/llvm/17/llvm/llvm-lit-cfg-add-libs-to-dylib-path.patch
pkgs/development/compilers/llvm/18/llvm/llvm-lit-cfg-add-libs-to-dylib-path.patch
pkgs/development/compilers/llvm/17/openmp/fix-find-tool.patch
pkgs/development/compilers/llvm/18/openmp/fix-find-tool.patch
pkgs/development/compilers/llvm/17/openmp/fix-find-tool.patch
pkgs/development/compilers/llvm/18/openmp/fix-find-tool.patch
-22
pkgs/development/compilers/llvm/17/openmp/gnu-install-dirs.patch
-22
pkgs/development/compilers/llvm/17/openmp/gnu-install-dirs.patch
···
+30
-34
pkgs/development/compilers/llvm/common/bintools.nix
+30
-34
pkgs/development/compilers/llvm/common/bintools.nix
···
+9
-15
pkgs/development/compilers/llvm/common/bolt/default.nix
+9
-15
pkgs/development/compilers/llvm/common/bolt/default.nix
···
-13
pkgs/development/compilers/llvm/common/clang/clang-11-15-LLVMgold-path.patch
-13
pkgs/development/compilers/llvm/common/clang/clang-11-15-LLVMgold-path.patch
···
+73
-182
pkgs/development/compilers/llvm/common/clang/default.nix
+73
-182
pkgs/development/compilers/llvm/common/clang/default.nix
······-url = "https://github.com/llvm/llvm-project/commit/5b77e752dcd073846b89559d6c0e1a7699e58615.patch";-url = "https://github.com/llvm/llvm-project/commit/60a33ded751c86fff9ac1c4bdd2b341fbe4b0649.patch?full_index=1";-url = "https://github.com/llvm/llvm-project/commit/c8e2dd8c6f490b68e41fe663b44535a8a21dfeab.patch?full_index=1";······-(lib.cmakeFeature "CLANG_RESOURCE_DIR" "${placeholder "lib"}/lib/clang/${lib.versions.major release_version}")-# `clang-tidy-confusable-chars-gen`: https://github.com/llvm/llvm-project/commit/c3574ef739fbfcc59d405985a3a4fa6f4619ecdb-# `clang-pseudo-gen`: https://github.com/llvm/llvm-project/commit/cd2292ef824591cc34cc299910a3098545c840c7-(lib.cmakeFeature "CLANG_TIDY_CONFUSABLE_CHARS_GEN" "${buildLlvmTools.tblgen}/bin/clang-tidy-confusable-chars-gen")-# clang-pseudo removed in LLVM20: https://github.com/llvm/llvm-project/commit/ed8f78827895050442f544edef2933a60d4a7935+(lib.cmakeFeature "CLANG_RESOURCE_DIR" "${placeholder "lib"}/lib/clang/${lib.versions.major release_version}")+# `clang-tidy-confusable-chars-gen`: https://github.com/llvm/llvm-project/commit/c3574ef739fbfcc59d405985a3a4fa6f4619ecdb+# `clang-pseudo-gen`: https://github.com/llvm/llvm-project/commit/cd2292ef824591cc34cc299910a3098545c840c7+(lib.cmakeFeature "CLANG_TIDY_CONFUSABLE_CHARS_GEN" "${buildLlvmTools.tblgen}/bin/clang-tidy-confusable-chars-gen")+# clang-pseudo removed in LLVM20: https://github.com/llvm/llvm-project/commit/ed8f78827895050442f544edef2933a60d4a7935·········+lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform && !stdenv.hostPlatform.useLLVM)···-(lib.versionOlder release_version "8") || !targetPlatform.isAarch64 || !targetPlatform.isLinux···-(lib.versionOlder release_version "15") || !(targetPlatform.isx86_64 || targetPlatform.isAarch64)···
-57
pkgs/development/compilers/llvm/common/clang/ignore-nostd-link-13.diff
-57
pkgs/development/compilers/llvm/common/clang/ignore-nostd-link-13.diff
···-backported to clang-12 & clang-13 from https://github.com/llvm/llvm-project/commit/5b77e752dcd073846b89559d6c0e1a7699e58615-@@ -2931,7 +2931,7 @@ def headerpad__max__install__names : Joined<["-"], "headerpad_max_install_names"-@@ -3641,10 +3641,11 @@ def no_cpp_precomp : Flag<["-"], "no-cpp-precomp">, Group<clang_ignored_f_Group>-+def nobuiltininc : Flag<["-"], "nobuiltininc">, Flags<[CC1Option, CoreOption]>, Group<IncludePath_Group>,--// RUN: %clang -Xclang -I. %t/tmp.o -o %t/tmp -### 2>&1 | FileCheck %s --check-prefix=NO-UNUSED-+// RUN: %clang -### -I. -ibuiltininc -nobuiltininc -nostdinc -nostdinc++ -nostdlibinc -nogpuinc %t/tmp.o -o /dev/null 2>&1 | FileCheck /dev/null --implicit-check-not=warning:
+3
-3
pkgs/development/compilers/llvm/common/common-let.nix
+3
-3
pkgs/development/compilers/llvm/common/common-let.nix
···
-75
pkgs/development/compilers/llvm/common/compiler-rt/armv6-mcr-dmb.patch
-75
pkgs/development/compilers/llvm/common/compiler-rt/armv6-mcr-dmb.patch
···
-34
pkgs/development/compilers/llvm/common/compiler-rt/armv6-scudo-no-yield.patch
-34
pkgs/development/compilers/llvm/common/compiler-rt/armv6-scudo-no-yield.patch
···
-52
pkgs/development/compilers/llvm/common/compiler-rt/armv6-sync-ops-no-thumb.patch
-52
pkgs/development/compilers/llvm/common/compiler-rt/armv6-sync-ops-no-thumb.patch
···
-32
pkgs/development/compilers/llvm/common/compiler-rt/armv7l-15.patch
-32
pkgs/development/compilers/llvm/common/compiler-rt/armv7l-15.patch
···-+set(ARM32 arm armhf armv6m armv7m armv7em armv7 armv7s armv7k armv7l armv8m.main armv8.1m.main)-- if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7m|armv7em|armv8m.main|armv8.1m.main)$")-+ if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7l|armv7m|armv7em|armv8m.main|armv8.1m.main)$")-check_compile_definition(__VFP_FP__ "${CMAKE_C_FLAGS} ${_TARGET_${arch}_CFLAGS}" COMPILER_RT_HAS_${arch}_VFP)
+28
-100
pkgs/development/compilers/llvm/common/compiler-rt/default.nix
+28
-100
pkgs/development/compilers/llvm/common/compiler-rt/default.nix
·········-lib.optional (lib.versionOlder release_version "15") (getVersionFile "compiler-rt/codesign.patch") # Revert compiler-rt commit that makes codesign mandatory-(getVersionFile "compiler-rt/X86-support-extension.patch") # Add support for i486 i586 i686 by reusing i386 config-url = "https://github.com/llvm/llvm-project/commit/b31080c596246bc26d2493cfd5e07f053cf9541c.patch";-lib.optional (lib.versionAtLeast release_version "13" && lib.versionOlder release_version "18")-url = "https://github.com/llvm/llvm-project/commit/7939ce39dac0078fef7183d6198598b99c652c88.patch";-lib.optional (lib.versionAtLeast release_version "13" && lib.versionOlder release_version "18")-lib.optionals (lib.versionAtLeast release_version "13" && lib.versionOlder release_version "18")-url = "https://github.com/llvm/llvm-project/pull/99837/commits/14ae0a660a38e1feb151928a14f35ff0f4487351.patch";+(getVersionFile "compiler-rt/X86-support-extension.patch") # Add support for i486 i586 i686 by reusing i386 config+url = "https://github.com/llvm/llvm-project/pull/99837/commits/14ae0a660a38e1feb151928a14f35ff0f4487351.patch";···-((!haveLibc || bareMetal || isMusl || isAarch64) && (lib.versions.major release_version == "13"))···(lib.cmakeFeature "CMAKE_LIPO" "${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}lipo")···# https://github.com/llvm/llvm-project/blob/27ef42bec80b6c010b7b3729ed0528619521a690/compiler-rt/cmake/base-config-ix.cmake#L153···-substituteInPlace lib/builtins/cpu_model${lib.optionalString (lib.versionAtLeast release_version "18") "/x86"}.c \···
-48
pkgs/development/compilers/llvm/common/compiler-rt/glibc.patch
-48
pkgs/development/compilers/llvm/common/compiler-rt/glibc.patch
···-diff --git a/lib/sanitizer_common/sanitizer_platform_limits_posix.cc b/lib/sanitizer_common/sanitizer_platform_limits_posix.cc-diff --git a/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/lib/sanitizer_common/sanitizer_platform_limits_posix.h
-80
pkgs/development/compilers/llvm/common/compiler-rt/libsanitizer-no-cyclades-9.patch
-80
pkgs/development/compilers/llvm/common/compiler-rt/libsanitizer-no-cyclades-9.patch
···
+120
-232
pkgs/development/compilers/llvm/common/default.nix
+120
-232
pkgs/development/compilers/llvm/common/default.nix
············-+ lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) ''-!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && !stdenv.targetPlatform.isDarwin-+ lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) ''+!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && !stdenv.targetPlatform.isDarwin-!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && !stdenv.targetPlatform.isDarwin-!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && !stdenv.targetPlatform.isDarwin+!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && !stdenv.targetPlatform.isDarwin+!stdenv.targetPlatform.isWasm && !stdenv.targetPlatform.isFreeBSD && !stdenv.targetPlatform.isDarwin···-# TODO: pre-15: lldb/docs/index.rst:155:toctree contains reference to nonexisting document 'design/structureddataplugins'-(lib.versionAtLeast metadata.release_version "16" && lib.versionOlder metadata.release_version "22")···-// lib.optionalAttrs (lib.versionOlder metadata.release_version "14") { monorepoSrc = null; } # Preserve a bug during #307211, TODO: remove; causes llvm 13 rebuild.···
+1
-1
pkgs/development/compilers/llvm/common/libc/default.nix
+1
-1
pkgs/development/compilers/llvm/common/libc/default.nix
+5
-11
pkgs/development/compilers/llvm/common/libclc/default.nix
+5
-11
pkgs/development/compilers/llvm/common/libclc/default.nix
···
+125
-206
pkgs/development/compilers/llvm/common/libcxx/default.nix
+125
-206
pkgs/development/compilers/llvm/common/libcxx/default.nix
·········+lib.optionals (!useLLVM && stdenv.hostPlatform.libc == "glibc" && !stdenv.hostPlatform.isStatic)···-lib.optionals (useLLVM && !stdenv.hostPlatform.isFreeBSD && lib.versionAtLeast release_version "16")······-url = "https://github.com/llvm/llvm-project/commit/57c7bb3ec89565c68f858d316504668f9d214d59.patch";
-39
pkgs/development/compilers/llvm/common/libcxx/libcxx-0001-musl-hacks.patch
-39
pkgs/development/compilers/llvm/common/libcxx/libcxx-0001-musl-hacks.patch
···
-16
pkgs/development/compilers/llvm/common/libcxxabi/wasm.patch
-16
pkgs/development/compilers/llvm/common/libcxxabi/wasm.patch
···
+65
-102
pkgs/development/compilers/llvm/common/libunwind/default.nix
+65
-102
pkgs/development/compilers/llvm/common/libunwind/default.nix
···-++ lib.optionals (lib.versions.major release_version == "12" && stdenv.hostPlatform.isDarwin) [-(lib.versionAtLeast release_version "15" && (hasPatches || lib.versionOlder release_version "18"))-(lib.versionAtLeast release_version "15" && (hasPatches || lib.versionOlder release_version "18"))-lib.optionalString (enableShared && !stdenv.hostPlatform.isDarwin && !stdenv.hostPlatform.isWindows)+lib.optionalString (enableShared && !stdenv.hostPlatform.isDarwin && !stdenv.hostPlatform.isWindows)
+19
-38
pkgs/development/compilers/llvm/common/lld/default.nix
+19
-38
pkgs/development/compilers/llvm/common/lld/default.nix
······-++ lib.optional (lib.versionAtLeast release_version "16" && lib.versionOlder release_version "18") (···
+24
-98
pkgs/development/compilers/llvm/common/lldb/default.nix
+24
-98
pkgs/development/compilers/llvm/common/lldb/default.nix
·········-sourceRoot = lib.optional (lib.versionAtLeast release_version "13") "${finalAttrs.src.name}/lldb";-url = "https://github.com/llvm/llvm-project/commit/81fc5f7909a4ef5a8d4b5da2a10f77f7cb01ba63.patch?full_index=1";-url = "https://github.com/llvm/llvm-project/commit/f0a25fe0b746f56295d5c02116ba28d2f965c175.patch?full_index=1";-url = "https://github.com/llvm/llvm-project/commit/ba35c27ec9aa9807f5b4be2a0c33ca9b045accc7.patch?full_index=1";-url = "https://github.com/llvm/llvm-project/commit/9ec115978ea2bdfc60800cd3c21264341cdc8b0a.patch?full_index=1";-url = "https://github.com/llvm/llvm-project/commit/68744ffbdd7daac41da274eef9ac0d191e11c16d.patch";-url = "https://github.com/llvm/llvm-project/commit/73e15b5edb4fa4a77e68c299a6e3b21e610d351f.patch";·········-# https://github.com/llvm/llvm-project/blob/af6ec9200b09039573d85e349496c4f5b17c3d7f/lldb/docs/conf.py#L54+# https://github.com/llvm/llvm-project/blob/af6ec9200b09039573d85e349496c4f5b17c3d7f/lldb/docs/conf.py#L54(lib.cmakeFeature "-DLLDB_TEST_CXX_COMPILER" "${stdenv.cc}/bin/${stdenv.cc.targetPrefix}c++")·········install -D ../tools/${vscodeExt.name}/package.json $out/share/vscode/extensions/llvm-org.${vscodeExt.name}-${vscodeExt.version}/package.json+ln -s $out/bin/*${vscodeExt.name} $out/share/vscode/extensions/llvm-org.${vscodeExt.name}-${vscodeExt.version}/bin···
+162
-395
pkgs/development/compilers/llvm/common/llvm/default.nix
+162
-395
pkgs/development/compilers/llvm/common/llvm/default.nix
············-# Fix llvm being miscompiled by some gccs. See https://github.com/llvm/llvm-project/issues/49955···-url = "https://raw.githubusercontent.com/archlinux/svntogit-packages/4764a4f8c920912a2bfd8b0eea57273acfe0d8a8/trunk/no-strict-aliasing-DwarfCompileUnit.patch";-lib.optional (lib.versionAtLeast release_version "12" && lib.versionOlder release_version "19")···-url = "https://github.com/llvm/llvm-project/commit/5cd554303ead0f8891eee3cd6d25cb07f5a7bf67.patch";-url = "https://github.com/llvm/llvm-project/commit/ff1681ddb303223973653f7f5f3f3435b48a1983.patch";-url = "https://github.com/llvm/llvm-project/commit/5e9be93566f39ee6cecd579401e453eccfbe81e5.patch";-url = "https://github.com/llvm/llvm-project/commit/2e1b838a889f9793d4bcd5dbfe10db9796b77143.patch";-url = "https://github.com/llvm/llvm-project/commit/f800c1f3b207e7bcdc8b4c7192928d9a078242a0.patch";···-lib.optionals (lib.versionAtLeast release_version "17" && lib.versionOlder release_version "19")-url = "https://github.com/llvm/llvm-project/commit/1e8df9e85a1ff213e5868bd822877695f27504ad.patch";+url = "https://github.com/llvm/llvm-project/commit/1e8df9e85a1ff213e5868bd822877695f27504ad.patch";·········# this up: https://github.com/llvm/llvm-project/blob/c344d97a125b18f8fed0a64aace73c49a870e079/llvm/test/MC/ELF/cfi-version.ll#L7+--replace-fail '/usr/bin/sw_vers' "${(builtins.toString darwin.DarwinTools) + "/bin/sw_vers"}"+--replace-fail "PhysicalFileSystemWorkingDirFailure" "DISABLED_PhysicalFileSystemWorkingDirFailure"+--replace-fail "PhysicalFileSystemWorkingDirFailure" "DISABLED_PhysicalFileSystemWorkingDirFailure"---replace-fail '/usr/bin/sw_vers' "${(builtins.toString darwin.DarwinTools) + "/bin/sw_vers"}"---replace-fail '/usr/bin/sw_vers' "${(builtins.toString darwin.DarwinTools) + "/bin/sw_vers"}"---replace-fail "PhysicalFileSystemWorkingDirFailure" "DISABLED_PhysicalFileSystemWorkingDirFailure"-stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86 && lib.versionAtLeast release_version "15"---replace-fail "PhysicalFileSystemWorkingDirFailure" "DISABLED_PhysicalFileSystemWorkingDirFailure"·········+# - https://github.com/llvm/llvm-project/blob/406bde9a15136254f2b10d9ef3a42033b3cb1b16/clang/lib/Headers/CMakeLists.txt#L185+part="$(cat include/llvm/Config/llvm-config.h | grep "#define LLVM_VERSION_''${part} " | cut -d' ' -f3)"······substituteInPlace "$dev/lib/cmake/llvm/LLVMExports-${lib.toLower finalAttrs.finalPackage.cmakeBuildType}.cmake" \+--replace-fail 'set(LLVM_BINARY_DIR "''${LLVM_INSTALL_PREFIX}")' 'set(LLVM_BINARY_DIR "'"$lib"'")'---replace-fail 'set(LLVM_BINARY_DIR "''${LLVM_INSTALL_PREFIX}")' 'set(LLVM_BINARY_DIR "''${LLVM_INSTALL_PREFIX}'"$lib"'")'---replace-fail 'set(LLVM_BINARY_DIR "''${LLVM_INSTALL_PREFIX}")' 'set(LLVM_BINARY_DIR "'"$lib"'")'······-++ lib.optional (stdenv.hostPlatform.isDarwin && lib.versionAtLeast release_version "15") sysctl;-# - https://github.com/llvm/llvm-project/blob/406bde9a15136254f2b10d9ef3a42033b3cb1b16/clang/lib/Headers/CMakeLists.txt#L185-part="$(cat include/llvm/Config/llvm-config.h | grep "#define LLVM_VERSION_''${part} " | cut -d' ' -f3)"
-12
pkgs/development/compilers/llvm/common/llvm/llvm-config-link-static.patch
-12
pkgs/development/compilers/llvm/common/llvm/llvm-config-link-static.patch
···
+7
-13
pkgs/development/compilers/llvm/common/mlir/default.nix
+7
-13
pkgs/development/compilers/llvm/common/mlir/default.nix
···
+74
-101
pkgs/development/compilers/llvm/common/openmp/default.nix
+74
-101
pkgs/development/compilers/llvm/common/openmp/default.nix
···assert lib.assertMsg (ompdGdbSupport -> ompdSupport) "OMPD GDB support requires OMPD support!";-lib.optional (lib.versionAtLeast release_version "15" && lib.versionOlder release_version "19") (-++ lib.optional (lib.versionAtLeast release_version "14" && lib.versionOlder release_version "18") (-url = "https://github.com/llvm/llvm-project/commit/5e2358c781b85a18d1463fd924d2741d4ae5e42e.patch";+lib.optional (lib.versionOlder release_version "19") (getVersionFile "openmp/fix-find-tool.patch")-(lib.cmakeBool "LIBOMPTARGET_BUILD_AMDGCN_BCLIB" false) # Building the AMDGCN device RTL fails
+8
-151
pkgs/development/compilers/llvm/common/patches.nix
+8
-151
pkgs/development/compilers/llvm/common/patches.nix
···············
+18
-34
pkgs/development/compilers/llvm/common/tblgen.nix
+18
-34
pkgs/development/compilers/llvm/common/tblgen.nix
······-lib.optionals ((lib.versionAtLeast release_version "15") && (lib.versionOlder release_version "20"))···
-6
pkgs/development/compilers/llvm/default.nix
-6
pkgs/development/compilers/llvm/default.nix
···
+5
-31
pkgs/development/compilers/llvm/update.sh
+5
-31
pkgs/development/compilers/llvm/update.sh
···
+22
-3
pkgs/development/compilers/mrustc/bootstrap.nix
+22
-3
pkgs/development/compilers/mrustc/bootstrap.nix
·········#"MINICARGO=${mrustc-minicargo}/bin/minicargo" # FIXME: we need to rebuild minicargo locally so --manifest-overrides is applied···
+6
-1
pkgs/development/haskell-modules/with-packages-wrapper.nix
+6
-1
pkgs/development/haskell-modules/with-packages-wrapper.nix
······
-84
pkgs/development/tools/analysis/ikos/default.nix
-84
pkgs/development/tools/analysis/ikos/default.nix
···
+6
pkgs/test/default.nix
+6
pkgs/test/default.nix
···
+63
-18
pkgs/top-level/aliases.nix
+63
-18
pkgs/top-level/aliases.nix
···beatsabermodmanager = throw "'beatsabermodmanager' has been removed due to lack of upstream maintainenance. Consider using 'bs-manager' instead"; # Added 2025-03-18betterbird = throw "betterbird has been removed as there were insufficient maintainer resources to keep up with security updates"; # Added 2024-10-25betterbird-unwrapped = throw "betterbird has been removed as there were insufficient maintainer resources to keep up with security updates"; # Added 2024-10-25+bfc = throw "bfc has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10bibata-extra-cursors = throw "bibata-cursors has been removed as it was broken"; # Added 2024-07-15bitbucket-server-cli = throw "bitbucket-server-cli has been removed due to lack of maintenance upstream."; # Added 2025-05-27bitcoin-abc = throw "bitcoin-abc has been removed due to a lack of maintanance"; # Added 2025-06-17···colloid-kde = throw "'colloid-kde' has been removed, as it is only compatible with Plasma 5, which is EOL"; # Added 2025-08-20colorpicker = throw "'colorpicker' has been removed due to lack of maintenance upstream. Consider using 'xcolor', 'gcolor3', 'eyedropper' or 'gpick' instead"; # Added 2024-10-19colorstorm = throw "'colorstorm' has been removed because it was unmaintained in nixpkgs and upstream was rewritten."; # Added 2025-06-15+cone = throw "cone has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10connman-ncurses = throw "'connman-ncurses' has been removed due to lack of maintenance upstream."; # Added 2025-05-27copilot-language-server-fhs = lib.warnOnInstantiate "The package set `copilot-language-server-fhs` has been renamed to `copilot-language-server`." copilot-language-server; # Added 2025-09-07copper = throw "'copper' has been removed, as it was broken since 22.11"; # Added 2025-08-22···cyber = throw "cyber has been removed, as it does not build with supported Zig versions"; # Added 2025-08-09# these are for convenience, not for backward compat., and shouldn't expire until the package is deprecated.···+dale = throw "dale has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10dap = throw "'dap' has been removed because it doesn't compile and has been unmaintained since 2014"; # Added 2025-05-10daq = throw "'daq' has been removed as it is unmaintained and broken. Snort2 has also been removed, which depended on this"; # Added 2025-05-21···hiddify-app = throw "hiddify-app has been removed, since it is unmaintained"; # added 2025-08-20hll2390dw-cups = throw "The hll2390dw-cups package was dropped since it was unmaintained."; # Added 2024-06-21+hobbes = throw "hobbes has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-20hmetis = throw "'hmetis' has been removed as it was unmaintained and the upstream was unavailable"; # Added 2025-05-05hop-cli = throw "hop-cli has been removed as the service has been shut-down"; # Added 2024-08-13···ib-controller = throw "ib-controller has been removed from nixpkgs as it was broken"; # Added 2024-07-15+ikos = throw "ikos has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10imagemagick7Big = throw "'imagemagick7Big' has been renamed to/replaced by 'imagemagickBig'"; # Converted to throw 2024-10-17imagemagick7 = throw "'imagemagick7' has been renamed to/replaced by 'imagemagick'"; # Converted to throw 2024-10-17imagemagick7_light = throw "'imagemagick7_light' has been renamed to/replaced by 'imagemagick_light'"; # Converted to throw 2024-10-17···llvmPackages_git = (callPackages ../development/compilers/llvm { }).git; # Added 2024-08-02+llvmPackages_12 = throw "llvmPackages_12 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+llvm_12 = throw "llvm_12 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+lld_12 = throw "lld_12 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+lldb_12 = throw "lldb_12 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+clang_12 = throw "clang_12 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+clang12Stdenv = throw "clang12Stdenv has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+clang-tools_12 = throw "clang-tools_12 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+llvmPackages_13 = throw "llvmPackages_13 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+llvm_13 = throw "llvm_13 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+lld_13 = throw "lld_13 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+lldb_13 = throw "lldb_13 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+clang_13 = throw "clang_13 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+clang13Stdenv = throw "clang13Stdenv has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+clang-tools_13 = throw "clang-tools_13 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+llvmPackages_14 = throw "llvmPackages_14 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+llvm_14 = throw "llvm_14 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+lld_14 = throw "lld_14 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+lldb_14 = throw "lldb_14 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+clang_14 = throw "clang_14 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+clang14Stdenv = throw "clang14Stdenv has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+clang-tools_14 = throw "clang-tools_14 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-10+llvmPackages_15 = throw "llvmPackages_15 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-12+llvm_15 = throw "llvm_15 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-12+lld_15 = throw "lld_15 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-12+lldb_15 = throw "lldb_15 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-12+clang_15 = throw "clang_15 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-12+clang15Stdenv = throw "clang15Stdenv has been removed, as it is unmaintained and obsolete"; # Added 2025-08-12+clang-tools_15 = throw "clang-tools_15 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-12+llvmPackages_16 = throw "llvmPackages_16 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+llvm_16 = throw "llvm_16 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+lld_16 = throw "lld_16 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+lldb_16 = throw "lldb_16 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+mlir_16 = throw "mlir_16 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+clang_16 = throw "clang_16 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+clang16Stdenv = throw "clang16Stdenv has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+clang-tools_16 = throw "clang-tools_16 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+llvmPackages_17 = throw "llvmPackages_17 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+llvm_17 = throw "llvm_17 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+lld_17 = throw "lld_17 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+lldb_17 = throw "lldb_17 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+mlir_17 = throw "mlir_17 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+clang_17 = throw "clang_17 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+clang17Stdenv = throw "clang17Stdenv has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09+clang-tools_17 = throw "clang-tools_17 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09lobster-two = throw "'lobster-two' has been renamed to/replaced by 'google-fonts'"; # Converted to throw 2024-10-17loc = throw "'loc' has been removed due to lack of upstream maintenance. Consider 'tokei' as an alternative."; # Added 2025-01-25···oauth2_proxy = throw "'oauth2_proxy' has been renamed to/replaced by 'oauth2-proxy'"; # Converted to throw 2024-10-17obliv-c = throw "obliv-c has been removed from Nixpkgs, as it has been unmaintained upstream for 4 years and does not build with supported GCC versions"; # Added 2025-08-18ocis-bin = throw "ocis-bin has been renamed to ocis_5-bin'. Future major.minor versions will be made available as separate packages"; # Added 2025-03-30+oclgrind = throw "oclgrind has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10odoo15 = throw "odoo15 has been removed from nixpkgs as it is unsupported; migrate to a newer version of odoo"; # Added 2025-05-06offrss = throw "offrss has been removed due to lack of upstream maintenance; consider using another rss reader"; # Added 2025-06-01oil = lib.warnOnInstantiate "Oil has been replaced with the faster native C++ version and renamed to 'oils-for-unix'. See also https://github.com/oils-for-unix/oils/wiki/Oils-Deployments" oils-for-unix; # Added 2024-10-22···qcachegrind = throw "'qcachegrind' has been removed, as it depends on KDE Gear 5, which has reached EOL"; # Added 2025-08-20qnial = throw "'qnial' has been removed due to failing to build and being unmaintained"; # Added 2025-06-26+qrscan = throw "qrscan has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-19qt-video-wlr = throw "'qt-video-wlr' has been removed, as it depends on KDE Gear 5, which has reached EOL"; # Added 2025-08-20···w_scan = throw "'w_scan' has been removed due to lack of upstream maintenance"; # Added 2025-08-29+wavm = throw "wavm has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10wal_e = throw "wal_e was removed as it is unmaintained upstream and depends on the removed boto package; upstream recommends using wal-g or pgbackrest"; # Added 2024-09-22
+1
-56
pkgs/top-level/all-packages.nix
+1
-56
pkgs/top-level/all-packages.nix
·········-if stdenv.cc.isClang && stdenv.hostPlatform.isx86_64 then llvmPackages_17.stdenv else stdenv;············
+13
-28
pkgs/top-level/haskell-packages.nix
+13
-28
pkgs/top-level/haskell-packages.nix
·································