mkl

Intel® oneAPI Math Kernel Library

Latest version: 2025.2.0+628

Add to xmake.lua

add_requires("mkl 2025.2.0+628")

Learn how to add and link packages with Xmake →

Information

Recipe updated
2025-10-21T14:08:08.000Z

Platforms

  • linux: i386, x86_64
  • macosx: x86_64
  • windows: x86, x64, arm, arm64ec

Options

interface
Choose index integer size for the interface. · Default: 32 · Values: 32, 64
threading
Choose threading modal for mkl. · Type: string · Default: tbb · Values: tbb, openmp, gomp, seq

Versions

  • 2022.2.0+8748
  • 2022.2.1+16993
  • 2024.1.0+691
  • 2024.2.0+663
  • 2024.2.1+103
  • 2024.2.2+15
  • 2025.0.0+939
  • 2025.0.1+14
  • 2025.1.0+801
  • 2025.2.0+628

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "mkl 2025.2.0+628"

show info

xrepo info "mkl"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("mkl 2025.2.0+628")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("mkl")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "mkl 2025.2.0+628" shell