Configuring the Apple Xcode* Developer Software to Link with Intel® Math Kernel Library
This section provides information on configuring the Apple Xcode* developer software for linking with .
Intel® oneAPI Math Kernel Library
To configure your Xcode developer software to link with , you need to perform the steps explained below. The specific instructions for performing these steps depend on your version of the Xcode developer software. Please refer to the Xcode Help for more details.
Intel® oneAPI Math Kernel Library
To configure your Xcode developer software, do the following:
- Open your project that usesand select the target you are going to build.Intel® oneAPI Math Kernel Library
- Add theinclude path, that is,Intel® oneAPI Math Kernel Library, to the header search paths.<mkl directory>/include
- Add thelibrary path for the target architecture to the library search paths. For example, for the Intel® 64 architecture, addIntel® oneAPI Math Kernel Library.<mkl directory>/lib/intel64
- Specify the linker options for theand system libraries to link with your application. For example, you may need to specify:Intel® oneAPI Math Kernel Library-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lm.
- (Optional, needed only for dynamic linking) For the active executable, add the environment variableDYLD_LIBRARY_PATHwith the value of.<mkl directory>/lib