Skip to content

Commit

Permalink
Add configurator for building with Macports-installed dependencies, r…
Browse files Browse the repository at this point in the history
…ather than brew
  • Loading branch information
Uri Blumenthal committed Sep 23, 2020
1 parent 10234d4 commit 20fbe3c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions macport.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# To configure openabe to build using dependencies installed by
# Macports - usually, OpenSSL and gtest - source this file
# via bash before doing "make" in the openabe top directory,
# like
# $ source macport.emv
# $ make && make test
#
source ./env
export ADD_CFLAGS="-I/opt/local/include -march=native"
export BISON="bison"
export USE_DEPS="relic"
export LDFLAGS="-L/opt/local/lib -lgtest"
export LOCAL_LIB_ROOT="/opt/local/lib"
export LOCAL_INCLUDE="/opt/local/include"
#export NO_DEPS="none"
unset NO_DEPS
export OS_CXXFLAGS="-I/opt/local/include -march=native"
#export ZML_LIB="with_openssl"
unset ZML_LIB
export ZSYM_DEP_LIBS="-L/opt/local/lib -lcrypto"
export ZROOT="${PWD}"

0 comments on commit 20fbe3c

Please sign in to comment.