onednn: fix homepage and rename from oneDNN
rename to lowercase to fit package naming conventions
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
# Enabling both withOneDNN and withOpenblas is broken
|
||||
# https://github.com/OpenNMT/CTranslate2/issues/1294
|
||||
withOneDNN ? false,
|
||||
oneDNN,
|
||||
onednn,
|
||||
withOpenblas ? true,
|
||||
openblas,
|
||||
withRuy ? true,
|
||||
@@ -93,7 +93,7 @@ stdenv'.mkDerivation (finalAttrs: {
|
||||
cudaPackages.cudnn
|
||||
]
|
||||
++ lib.optionals withOneDNN [
|
||||
oneDNN
|
||||
onednn
|
||||
]
|
||||
++ lib.optionals withOpenblas [
|
||||
openblas
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
# just recently been renamed again to oneDNN. See here for details:
|
||||
# https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "oneDNN";
|
||||
pname = "onednn";
|
||||
version = "3.10.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
meta = {
|
||||
changelog = "https://github.com/oneapi-src/oneDNN/releases/tag/v${finalAttrs.version}";
|
||||
description = "oneAPI Deep Neural Network Library (oneDNN)";
|
||||
homepage = "https://01.org/oneDNN";
|
||||
homepage = "http://uxlfoundation.github.io/oneDNN";
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
@@ -8,10 +8,10 @@
|
||||
# This was originally called mkl-dnn, then it was renamed to dnnl, and it has
|
||||
# just recently been renamed again to oneDNN. See here for details:
|
||||
# https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn
|
||||
# oneDNN_2 is currently only consumed by rocmPackages.migraphx and likely
|
||||
# onednn_2 is currently only consumed by rocmPackages.migraphx and likely
|
||||
# to be dropped once migraphx can migrate to 3
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "oneDNN";
|
||||
pname = "onednn";
|
||||
version = "2.7.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@@ -52,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
meta = {
|
||||
changelog = "https://github.com/oneapi-src/oneDNN/releases/tag/v${finalAttrs.version}";
|
||||
description = "oneAPI Deep Neural Network Library (oneDNN)";
|
||||
homepage = "https://01.org/oneDNN";
|
||||
homepage = "http://uxlfoundation.github.io/oneDNN";
|
||||
license = lib.licenses.asl20;
|
||||
teams = [ lib.teams.rocm ];
|
||||
platforms = lib.platforms.all;
|
||||
@@ -6,7 +6,7 @@
|
||||
autoPatchelfHook,
|
||||
|
||||
# buildInputs
|
||||
oneDNN,
|
||||
onednn,
|
||||
re2,
|
||||
|
||||
# dependencies
|
||||
@@ -53,7 +53,7 @@ buildPythonPackage {
|
||||
|
||||
# Libraries are not linked correctly.
|
||||
buildInputs = [
|
||||
oneDNN
|
||||
onednn
|
||||
re2
|
||||
onnxruntime.protobuf
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
setuptools-scm,
|
||||
|
||||
# buildInputs
|
||||
oneDNN,
|
||||
onednn,
|
||||
numactl,
|
||||
llvmPackages,
|
||||
|
||||
@@ -392,7 +392,7 @@ buildPythonPackage.override { stdenv = torch.stdenv; } (finalAttrs: {
|
||||
|
||||
buildInputs =
|
||||
lib.optionals cpuSupport [
|
||||
oneDNN
|
||||
onednn
|
||||
]
|
||||
++ lib.optionals (cpuSupport && stdenv.hostPlatform.isLinux) [
|
||||
numactl
|
||||
@@ -529,7 +529,7 @@ buildPythonPackage.override { stdenv = torch.stdenv; } (finalAttrs: {
|
||||
}
|
||||
// lib.optionalAttrs cpuSupport {
|
||||
VLLM_TARGET_DEVICE = "cpu";
|
||||
FETCHCONTENT_SOURCE_DIR_ONEDNN = "${oneDNN.src}";
|
||||
FETCHCONTENT_SOURCE_DIR_ONEDNN = "${onednn.src}";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
boost,
|
||||
msgpack-cxx,
|
||||
sqlite,
|
||||
# TODO(@LunNova): Swap to `oneDNN` once v3 is supported
|
||||
# TODO(@LunNova): Swap to `onednn` once v3 is supported
|
||||
# Upstream issue: https://github.com/ROCm/AMDMIGraphX/issues/4351
|
||||
oneDNN_2,
|
||||
onednn_2,
|
||||
blaze,
|
||||
texliveSmall,
|
||||
doxygen,
|
||||
@@ -109,7 +109,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
boost
|
||||
msgpack-cxx
|
||||
sqlite
|
||||
oneDNN_2
|
||||
onednn_2
|
||||
blaze
|
||||
python3Packages.pybind11
|
||||
python3Packages.onnx
|
||||
|
||||
@@ -1390,6 +1390,8 @@ mapAliases {
|
||||
oclgrind = throw "oclgrind has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10
|
||||
oil = throw "'oil' has been renamed to/replaced by 'oils-for-unix'"; # Converted to throw 2025-10-27
|
||||
olaris-server = throw "'olaris-server' has been removed as it failed to build since 2024"; # Added 2026-01-15
|
||||
oneDNN = onednn; # Added 2026-02-08
|
||||
oneDNN_2 = onednn_2; # Added 2026-02-08
|
||||
onevpl-intel-gpu = throw "'onevpl-intel-gpu' has been renamed to/replaced by 'vpl-gpu-rt'"; # Converted to throw 2025-10-27
|
||||
onlyoffice-bin = throw "'onlyoffice-bin' has been renamed to/replaced by 'onlyoffice-desktopeditors'"; # Converted to throw 2025-10-27
|
||||
onlyoffice-bin_latest = throw "'onlyoffice-bin_latest' has been renamed to/replaced by 'onlyoffice-bin'"; # Converted to throw 2025-10-27
|
||||
|
||||
Reference in New Issue
Block a user