Skip to content

Commit ad64589

Browse files
authored
Merge pull request #231 from milescattini/patch-1
Add fix for clang install of non m1 mac
2 parents b9f8dc3 + 2360728 commit ad64589

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,10 @@ To install a C++ compiler on Windows 10/11, follow these steps:
106106
3. Download the MinGW installer from the [MinGW website](https://sourceforge.net/projects/mingw/).
107107
4. Run the installer and select the `gcc` component.
108108

109+
## Mac Running Intel
110+
When running a Mac with Intel hardware (not M1), you may run into _clang: error: the clang compiler does not support '-march=native'_ during pip install.
111+
112+
If so set your archflags during pip install. eg: _ARCHFLAGS="-arch x86_64" pip3 install -r requirements.txt_
113+
109114
# Disclaimer
110115
This is a test project to validate the feasibility of a fully private solution for question answering using LLMs and Vector embeddings. It is not production ready, and it is not meant to be used in production. The models selection is not optimized for performance, but for privacy; but it is possible to use different models and vectorstores to improve performance.

0 commit comments

Comments
 (0)