Skip to content

Commit ddf0e3a

Browse files
authored
Merge pull request #116 from PKU-NIP-Lab/modify_ci
add brainpylib mac py3.10
2 parents 178ac64 + f31168b commit ddf0e3a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/MacOS_CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ jobs:
3838
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3939
- name: Test with pytest
4040
run: |
41-
pytest
41+
pytest brainpy/

extensions/setup_mac.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
Pybind11Extension("brainpylib/cpu_ops",
2222
sources=["lib/cpu_ops.cc"] + glob.glob("lib/*_cpu.cc"),
2323
cxx_std=11,
24-
extra_link_args=["-rpath", "/Users/ztqakita/opt/miniconda3/lib"],
24+
# extra_link_args=["-rpath", "/Users/ztqakita/miniforge3/lib"], # m1
25+
extra_link_args=["-rpath", "/Users/ztqakita/miniforge3/lib"], # intel
2526
define_macros=[('VERSION_INFO', __version__)]),
2627
]
2728

0 commit comments

Comments
 (0)