Skip to content

Commit 4cfe41c

Browse files
committed
address review feedback
add build instructions
1 parent 8533094 commit 4cfe41c

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,28 @@ A short example, illustrating its use:
2929
```
3030

3131
For more information about the usage of support functions see [Developer Reference for Intel® oneAPI Math Kernel Library for C](https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2025-2/support-functions.html).
32+
33+
---
34+
35+
## Building
36+
37+
A C compiler and Intel(R) OneAPI Math Kernel Library (OneMKL) are required to build mkl-service from source.
38+
39+
Executing
40+
```sh
41+
python -m pip install .
42+
```
43+
44+
will pull in the required build and runtime dependencies, including `mkl`, and build `mkl-service`.
45+
46+
With an existing system or Conda `mkl` installation, build dependencies
47+
- `mkl-devel`
48+
- `meson-python`
49+
- `cmake`
50+
- `ninja`
51+
- `cython`
52+
53+
then, simply execute
54+
```
55+
python -m pip install --no-build-isolation --no-deps .
56+
```

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ mkl_dep = dependency('MKL', method: 'cmake',
2828
)
2929

3030
rpath = ''
31-
if host_machine.system() != 'windows'
31+
if host_machine.system() == 'linux'
3232
rpath = '$ORIGIN/../..:$ORIGIN/../../..'
3333
endif
3434

0 commit comments

Comments
 (0)