From 1bdd7d949905e487e15b8e3bc30d3cd197313bdd Mon Sep 17 00:00:00 2001 From: He Li Date: Fri, 2 Feb 2024 07:39:03 +0800 Subject: [PATCH] Update oneDNN to v3.0.1 in order to support gcc 13 (#19344) ### Description Update the dependency of `oneDNN` to v3.0.1, which fixes a minor bug hindering gcc 13. ### Motivation and Context Referring to [oneDNN-1548](https://github.com/oneapi-src/oneDNN/issues/1548). - When building with `--use_dnnl` using gcc 13.x, it will fail due to this upstream issue. - This is fixed in `v3.0.1` [tag](https://github.com/oneapi-src/oneDNN/tree/v3.0.1) by [this commit](https://github.com/oneapi-src/oneDNN/commit/1d7971ce488da657e23f08488cdb6ef8e484c5e8). --- cmake/external/dnnl.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/external/dnnl.cmake b/cmake/external/dnnl.cmake index d7b7064078..9eb5fed7a1 100644 --- a/cmake/external/dnnl.cmake +++ b/cmake/external/dnnl.cmake @@ -2,7 +2,7 @@ include (ExternalProject) set(DNNL_URL https://github.com/oneapi-src/onednn.git) # If DNNL_TAG is updated, check if MKLML_VERSION and platform.cmake.patch need to be updated. -set(DNNL_TAG v3.0) +set(DNNL_TAG v3.0.1) if(WIN32) set(DNNL_SHARED_LIB dnnl.dll)