Skip to content

Commit 9547a35

Browse files
committed
Try arm64 python
1 parent fa2f1fd commit 9547a35

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
runs-on: macos-latest
6161
strategy:
6262
matrix:
63-
python-version: ["3.8", "3.9", "3.10", "3.11"]
63+
python-version: ["3.11"]
6464

6565
steps:
6666
- uses: actions/checkout@v3
@@ -70,7 +70,7 @@ jobs:
7070
uses: actions/setup-python@v4
7171
with:
7272
python-version: ${{ matrix.python-version }}
73-
architecture: x86
73+
architecture: arm64
7474
- name: Install dependencies
7575
run: |
7676
python3 -m pip install --upgrade pip

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ project(llama_cpp)
44

55
option(BUILD_LLAMA_CPP "Build llama.cpp shared library and install alongside python package" ON)
66

7-
if (APPLE)
8-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -mtune=native")
9-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -mtune=native")
10-
endif()
11-
127
if (BUILD_LLAMA_CPP)
138
set(BUILD_SHARED_LIBS "On")
149
add_subdirectory(vendor/llama.cpp)

0 commit comments

Comments
 (0)