Skip to content

Commit 9c9f688

Browse files
authored
[ThirdParty] Bump zlib to v1.3.1 to solve clang17 compile error (PaddlePaddle#72524)
1 parent 73022de commit 9c9f688

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

cmake/external/zlib.cmake

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ set(ZLIB_ROOT
2222
set(ZLIB_INCLUDE_DIR
2323
"${ZLIB_INSTALL_DIR}/include"
2424
CACHE PATH "zlib include directory." FORCE)
25-
set(ZLIB_TAG v1.2.8)
2625
set(SOURCE_DIR ${PADDLE_SOURCE_DIR}/third_party/zlib)
2726
include_directories(${ZLIB_INCLUDE_DIR}
2827
)# For zlib code to include its own headers.

paddle/fluid/pir/drr/src/attr_type_uilts.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ PD_SPECIALIZE_CppTypeToIrAttribute(phi::IntArray,
5353
template <typename T>
5454
struct IrAttributeCreator {
5555
typename CppTypeToIrAttribute<T>::type operator()(T obj) const {
56-
return CppTypeToIrAttribute<T>::type::template get(
56+
return CppTypeToIrAttribute<T>::type::template get<T>(
5757
pir::IrContext::Instance(), obj);
5858
}
5959
};

third_party/zlib

Submodule zlib updated 171 files

0 commit comments

Comments
 (0)