Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
use Homebrew's primecount
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed May 5, 2022
1 parent eb1a786 commit 17ea4fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .homebrew-build-env
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ done
export PATH
PKG_CONFIG_PATH="$HOMEBREW/lib/pkgconfig:$PKG_CONFIG_PATH"
# libpng.pc depends on zlib.pc
for l in openblas openssl readline sqlite zlib; do
for l in openblas openssl readline sqlite zlib primesieve primecount; do
if [ -d "$HOMEBREW/opt/$l/lib/pkgconfig" ]; then
PKG_CONFIG_PATH="$HOMEBREW/opt/$l/lib/pkgconfig:$PKG_CONFIG_PATH"
fi
Expand All @@ -23,7 +23,7 @@ export PKG_CONFIG_PATH
LIBRARY_PATH="$HOMEBREW/lib$LIBRARY_PATH"
[ -z "$CPATH" ] || CPATH=":${CPATH}"
CPATH="$HOMEBREW/include$CPATH"
for l in readline bzip2 ntl polymake libpng bdw-gc primesieve; do
for l in readline bzip2 ntl polymake libpng bdw-gc primesieve primecount; do
if [ -d "$HOMEBREW/opt/$l/lib" ]; then
LIBRARY_PATH="$HOMEBREW/opt/$l/lib:$LIBRARY_PATH"
fi
Expand Down
1 change: 1 addition & 0 deletions build/pkgs/primecount/distros/homebrew.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
primecount

0 comments on commit 17ea4fa

Please sign in to comment.