Skip to content

Commit b8117f6

Browse files
mlxdgithub-actions[bot]vincentmr
authored
Add git safe dir override for Kokkos docker builds (#452)
* Add git safe dir override for Kokkos docker builds * Auto update version * Update changelog --------- Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com> Co-authored-by: Vincent Michaud-Rioux <[email protected]>
1 parent 5b5fd0c commit b8117f6

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.github/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525

2626
### Bug fixes
2727

28+
* Ensure cross-platform wheels continue to build with updates in git safety checks.
29+
[(#452)](https://github.com/PennyLaneAI/pennylane-lightning/pull/452)
30+
2831
* Ensure aligned allocator definition works with C++20 compilers.
2932
[(#438)](https://github.com/PennyLaneAI/pennylane-lightning/pull/438)
3033

.github/workflows/wheel_linux_aarch64.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ jobs:
7171
-v `pwd`:/io \
7272
-v ${{ github.workspace }}/Kokkos_install/${{ matrix.exec_model }}:/install \
7373
-i ${{ matrix.container_img }} \
74-
bash -c "cd /io && \
74+
bash -c "git config --global --add safe.directory /io && \
75+
cd /io && \
7576
python3.8 -m pip install ninja && \
7677
ln -s /opt/python/cp38-cp38/bin/ninja /usr/bin/ninja && \
7778
cmake -BBuild . -DCMAKE_INSTALL_PREFIX=/install \
@@ -93,7 +94,8 @@ jobs:
9394
-v `pwd`:/io \
9495
-v ${{ github.workspace }}/Kokkos_install/${{ matrix.exec_model }}:/install \
9596
-i ${{ matrix.container_img }} \
96-
bash -c "cd /io && \
97+
bash -c "git config --global --add safe.directory /io && \
98+
cd /io && \
9799
python3.8 -m pip install ninja && \
98100
ln -s /opt/python/cp38-cp38/bin/ninja /usr/bin/ninja && \
99101
cmake -BBuild . -DCMAKE_INSTALL_PREFIX=/install \

.github/workflows/wheel_linux_ppc64le.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ jobs:
7171
-v `pwd`:/io \
7272
-v ${{ github.workspace }}/Kokkos_install/${{ matrix.exec_model }}:/install \
7373
-i ${{ matrix.container_img }} \
74-
bash -c "cd /io && \
74+
bash -c "git config --global --add safe.directory /io && \
75+
cd /io && \
7576
python3.8 -m pip install ninja && \
7677
ln -s /opt/python/cp38-cp38/bin/ninja /usr/bin/ninja && \
7778
cmake -BBuild . -DCMAKE_INSTALL_PREFIX=/install \
@@ -93,7 +94,8 @@ jobs:
9394
-v `pwd`:/io \
9495
-v ${{ github.workspace }}/Kokkos_install/${{ matrix.exec_model }}:/install \
9596
-i ${{ matrix.container_img }} \
96-
bash -c "cd /io && \
97+
bash -c "git config --global --add safe.directory /io && \
98+
cd /io && \
9799
python3.8 -m pip install ninja && \
98100
ln -s /opt/python/cp38-cp38/bin/ninja /usr/bin/ninja && \
99101
cmake -BBuild . -DCMAKE_INSTALL_PREFIX=/install \

pennylane_lightning/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
"""
1818

1919

20-
__version__ = "0.31.0-rc0"
20+
__version__ = "0.31.0-rc1"

0 commit comments

Comments
 (0)