Skip to content

Commit 411ba3a

Browse files
lwesierssys_zuul
authored andcommitted
Remove support for -cl-feature for Linux
Change-Id: Ife1662e712beb9f904a41eab7dda950a6d342352
1 parent 8ed7dd3 commit 411ba3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

IGC/OCLFE/igd_fcl_mcl/source/clang_tb.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,6 +1519,7 @@ namespace TC
15191519
optionsEx += " " + GetCDefinesFromInternalOptions(pInternalOptions);
15201520
optionsEx += " " + GetCDefinesForEnableList(extensions, oclStd, "-cl-ext=-all,");
15211521

1522+
#if defined(_WIN32)
15221523
if (oclStd >= 300) {
15231524
auto featureMacrosFromInternalOptions = GetSubstring(pInternalOptions, "-cl-feature=");
15241525

@@ -1535,6 +1536,7 @@ namespace TC
15351536
optionsEx += " " + GetCDefinesForEnableList(featureMacrosFromInternalOptions, oclStd, "-cl-feature=");
15361537
optionsEx += " " + featureMacrosFromInternalOptions;
15371538
}
1539+
#endif
15381540

15391541
optionsEx += " -D__IMAGE_SUPPORT__ -D__ENDIAN_LITTLE__";
15401542

0 commit comments

Comments
 (0)