Skip to content

Commit

Permalink
Merge pull request #70 from qognitive/bug/missing_so
Browse files Browse the repository at this point in the history
[bug/missing_so] Switching to relative install path
  • Loading branch information
jamesETsmith authored Oct 7, 2024
2 parents a3e9a40 + 4c0002d commit 23c8cdb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
10 changes: 1 addition & 9 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,10 @@ runs:
- name: Install Python dependencies
shell: bash
run: python -m pip install cmake scikit-build-core
- name: Configure CMake
shell: bash
run: cmake -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=${CXX}
- name: Build
shell: bash
run: |
cmake --build ${{github.workspace}}/build --verbose --parallel
- name: Install
shell: bash
run: |
cmake --install ${{github.workspace}}/build
python -m pip install ".[dev]" --no-build-isolation
python -m pip install --no-build-isolation -ve ".[dev]" -C cmake.args="-DCMAKE_CXX_COMPILER=${CXX}"
- name: Test C++
shell: bash
env:
Expand Down
3 changes: 1 addition & 2 deletions fast_pauli/cpp/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@
nanobind_add_module(_fast_pauli NOMINSIZE NOSTRIP PROTECT_STACK fast_pauli.cpp)
target_link_libraries(_fast_pauli PRIVATE fast_pauli)

install(TARGETS _fast_pauli
LIBRARY DESTINATION "${PROJECT_SOURCE_DIR}/fast_pauli")
install(TARGETS _fast_pauli LIBRARY DESTINATION "fast_pauli")
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ authors = [
{ name="Jeffrey Berger", email="jeff.berger@qognitive.io" },
]
dependencies = ["numpy", "qiskit", "qiskit-algorithms"]
version = "0.0.7"
version = "0.0.8"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
Expand Down

0 comments on commit 23c8cdb

Please sign in to comment.