Skip to content

Commit 9877c9d

Browse files
committed
Tolerate some macros
1 parent 7c5f0e6 commit 9877c9d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

install_test/check_macros/check_macros.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,13 @@ def prepare_commands(args):
111111
macros_with_diff = macros_with - macros_without
112112
macros_without_diff = macros_without - macros_with
113113

114-
if macros_without_diff:
114+
# to be removed as soon as possible
115+
whitelist_macros = {
116+
"#define KOKKOS_IMPL_PUBLIC_INCLUDE ",
117+
"#define KOKKOS_IMPL_PUBLIC_INCLUDE_PROFILING_SCOPEDREGION ",
118+
}
119+
120+
if macros_without_diff - whitelist_macros:
115121
print(macros_without_diff)
116122
raise ValueError("Set should be empty")
117123

0 commit comments

Comments
 (0)