mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Travis osx support (#155)
* fixed OS X compatibility * adding OS X travis test * ignoring autogenerated files * adding OS X travis test * fixed os x building * fixed os x building * reduced ignore file * v4l osx issue fixed * improved qt5 detection * disabled cleaning of child threads on os x for the time being * fixed avahi on OS X
This commit is contained in:
committed by
redPanther
parent
84c041a6fb
commit
05812f107b
8
.travis/travis_build.sh
Normal file → Executable file
8
.travis/travis_build.sh
Normal file → Executable file
@@ -10,11 +10,13 @@
|
||||
# compile hyperion on osx
|
||||
if [[ $TRAVIS_OS_NAME == 'osx' ]]
|
||||
then
|
||||
cmake . -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.6.1-1
|
||||
procs=$(sysctl -n hw.ncpu | xargs)
|
||||
echo "Processes: $procs"
|
||||
|
||||
mkdir build || exit 1
|
||||
cd build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTS=ON -Wno-dev .. || exit 2
|
||||
make -j$(nproc) || exit 3
|
||||
make -j$procs || exit 3
|
||||
# make -j$(nproc) package || exit 4 # currently osx(dmg) package creation not implemented
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user