-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Labels
buildA request to change/fix/improve the build systemA request to change/fix/improve the build system
Description
Summary
The CMake logics set MKL_LINK
to static
when building for Windows:
Lines 231 to 235 in c3c85db
if(BUILD_SHARED_LIBS AND NOT WIN32) | |
set(MKL_LINK dynamic) | |
else() | |
set(MKL_LINK static) | |
endif() |
This creates a large library on Windows of around 100MB, whereas on Linux with dynamic linking it is around 3MB for the blas domain for instance. This is not practical to integrate in other applications.
I am wondering if someone from @uxlfoundation/onemath-arch-write know why this is the case? Would there be any risk to switch to linking Intel oneMKL dynamically today?
Version
It looks like this was introduced in c3c85db9
Pinging @mkrainiuk in case you have more context.
Environment
The issue happens on Windows with the Intel oneMKL backends.
Metadata
Metadata
Assignees
Labels
buildA request to change/fix/improve the build systemA request to change/fix/improve the build system