summaryrefslogtreecommitdiff
path: root/sci-libs/miopen/files/miopen-4.2.0-disable-no-inline-boost.patch
blob: 769217acd9d14a949e8724b8512f26ce1471ab86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This let MIOpen compatible with >boost-1.72, for example 1.76

Suggested by: Michael Boone <mike@protagonistsystems.io>

--- a/CMakeLists.txt	2021-07-23 01:26:15.377754243 -0700
+++ b/CMakeLists.txt	2021-07-23 01:29:23.925685190 -0700
@@ -216,6 +216,7 @@
 message(STATUS "Hip compiler flags: ${HIP_COMPILER_FLAGS}")
 
 add_definitions("-DHIP_COMPILER_FLAGS=${HIP_COMPILER_FLAGS}")
+add_definitions("-DBOOST_CONTAINER_DISABLE_NOINLINE")
 
 
 # HIP