forked from enlightenment/efl
22 lines
571 B
Bash
Executable File
22 lines
571 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
COPTS="--disable-cxx-bindings"
|
|
PARALLEL_JOBS=10
|
|
|
|
# Prepare OSX env for build
|
|
mkdir -p ~/Library/LaunchAgents
|
|
ln -sfv /usr/local/opt/d-bus/*.plist ~/Library/LaunchAgents
|
|
launchctl load ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
|
|
export PATH="$(brew --prefix gettext)/bin:$PATH"
|
|
|
|
export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS"
|
|
export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"
|
|
|
|
# Normal build test of all targets
|
|
./autogen.sh $COPTS $@
|
|
make -j $PARALLEL_JOBS
|
|
make -j $PARALLEL_JOBS examples
|
|
#make -j $PARALLEL_JOBS benchmark
|