Skip to content

Commit f24008a

Browse files
committed
remove isLibModule flag addition
1 parent 3606406 commit f24008a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

offload/plugins-nextgen/level_zero/src/L0Program.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ Error L0ProgramBuilderTy::addModule(size_t Size, const uint8_t *Image,
6868
bool IsLibModule =
6969
BuildOptions.find("-library-compilation") != std::string::npos;
7070

71-
// Add required flag to enable dynamic linking.
72-
if (IsLibModule)
73-
BuildOptions += " -library-compilation ";
74-
7571
ze_module_desc_t ModuleDesc{};
7672
ModuleDesc.stype = ZE_STRUCTURE_TYPE_MODULE_DESC;
7773
ModuleDesc.pNext = nullptr;

0 commit comments

Comments
 (0)