Skip to content

Commit

Permalink
OMP root path update
Browse files Browse the repository at this point in the history
  • Loading branch information
mlxd committed Apr 22, 2024
1 parent fbd8d0c commit 6d352cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wheel_macos_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
-DCMAKE_CXX_STANDARD=20 \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DCMAKE_CXX_COMPILER=g++ \
-DOpenMP_ROOT=${{ github.workspace}}/ext_lib/libomp_install \
-DOpenMP_ROOT=${{ github.workspace}}/ext_lib/libomp_install/usr/local/ \
-G Ninja
cmake --build ./Build --verbose
cmake --install ./Build
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
PL_BACKEND: ${{ matrix.pl_backend }}

CMAKE_ARGS: "-DOpenMP_ROOT=${{ github.workspace}}/ext_lib/libomp_install"
CMAKE_ARGS: "-DOpenMP_ROOT=${{ github.workspace}}/ext_lib/libomp_install/usr/local/"

CIBW_BEFORE_TEST: |
python -m pip install -r requirements-tests.txt
Expand Down
3 changes: 2 additions & 1 deletion pennylane_lightning/core/src/utils/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
* Config file for the path to scipy.libs at compile time.
*/


#ifndef CONFIG_H
#define CONFIG_H
#define SCIPY_LIBS_PATH ""
#define SCIPY_LIBS_PATH "/tmp/pl_omo/pyenv/lib/python3.10/site-packages/scipy.libs"
#endif

0 comments on commit 6d352cf

Please sign in to comment.