Skip to content

Commit

Permalink
remove openmp
Browse files Browse the repository at this point in the history
  • Loading branch information
xyyimian committed Aug 24, 2024
1 parent e62b552 commit 67965df
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,16 @@ If pre-built wheels cannot meet your requirements, you can install Nexa SDK from
pip install nexaai
```

> [!IMPORTANT]
> If you are using a Mac with Intel chips, run the following command:
>
> ```bash
> CMAKE_ARGS="-DCMAKE_CXX_FLAGS=-fopenmp" pip install nexaai
> ```
####FAQ

If you met following issue while building
![](docs/.media/error.jpeg)

try following command

```bash
CMAKE_ARGS="-DCMAKE_CXX_FLAGS=-fopenmp" pip install nexaai
```

#### GPU (Metal)

Expand Down
Binary file added docs/.media/error.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ sdist.exclude = [
build.verbose = true
cmake.build-type = "Release"
cmake.version = ">=3.16"
# cmake.args = ["-DCMAKE_CXX_FLAGS=-fopenmp"] # for macOS with Intel Silicon
cmake.args = ["-DCMAKE_BUILD_PARALLEL_LEVEL=16"]

[tool.scikit-build.metadata.version]
Expand Down

0 comments on commit 67965df

Please sign in to comment.