-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathINSTALL.OSX
More file actions
34 lines (22 loc) · 1.04 KB
/
Copy pathINSTALL.OSX
File metadata and controls
34 lines (22 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
OSX
---
# The software is regurarly built on OSX with travis, see https://travis-ci.org/patrickfrey/,
# build description in dist/travis/before_script.sh and dist/travis/script.sh
# Steps:
# 1) Install Homebrew from http://brew.sh/:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# 2) Install required packages:
brew install cmake boost leveldb ragel tre python3
# 3) Install gettext with brew, draw necessary links:
brew install gettext
brew link --force gettext
echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile
# 4) Build and install hyperscan (tag v5.2.0, build with shared libs) from source.
# 5) Build dependent strus packages
# See installation of projects strusBase,strusAnalyzer
# 6) Build strusPattern with:
cmake -G Xcode -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release .
xcodebuild -configuration Release -target ALL_BUILD
xcodebuild -configuration Release -target install
# 7) Running the tests:
xcodebuild -configuration Release -target RUN_TESTS