-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix numpy build error on apple silicon (#11580)
* fix numpy build error on apple silicon * also fix document
- Loading branch information
1 parent
6e71e75
commit 1250587
Showing
4 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -435,6 +435,7 @@ hciconfig | |
hdlc | ||
HKDF | ||
hoc | ||
homebrew | ||
hostapd | ||
hostname | ||
href | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,8 @@ brew install openssl pkg-config | |
However, that does not expose the package to `pkg-config`. To fix that, one | ||
needs to run something like the following: | ||
|
||
Intel: | ||
|
||
``` | ||
cd /usr/local/lib/pkgconfig | ||
ln -s ../../Cellar/[email protected]/1.1.1g/lib/pkgconfig/* . | ||
|
@@ -68,6 +70,12 @@ ln -s ../../Cellar/[email protected]/1.1.1g/lib/pkgconfig/* . | |
where `[email protected]/1.1.1g` may need to be replaced with the actual version of | ||
OpenSSL installed by Brew. | ||
|
||
Apple Silicon: | ||
|
||
``` | ||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:"/opt/homebrew/opt/openssl@3/lib/pkgconfig" | ||
``` | ||
|
||
Note: If using MacPorts, `port install openssl` is sufficient to satisfy this | ||
dependency. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters