Skip to content
Dave Cottlehuber edited this page Feb 8, 2014 · 11 revisions

overview

swirl is developed on Mac OS X 10.9.1 and FreeBSD 10.0 in parallel, and when testing is set up, on common linux variants as well. The latest available Erlang/OTP release is used, currently at R16B03-1.

FreeBSD 10.0 was chosen mainly because zfs is the only sane filesystem for servers if your data is of any value to you, and it's got a great network stack under the hood.

swirl

clone the repo, and run make.

tribler swift

Unfortunately, the tribler-based swift binary doesn't build directly on FreeBSD 10.0, as it is 100% clang-based now. Here's how:

/etc/make.conf should contain:

CC=clang
CXX=clang++
CPP=clang-cpp
WITH_LIBCPLUSPLUS=yes
WITH_CLANG=yes
WITH_CLANG_IS_CC=yes
WITH_CLANG_EXTRAS=yes
WERROR=
NO_WERROR=
NO_FSCHG=
WITHOUT_GCC=yes
WITHOUT_GNU=yes

You'll need to install the following packages:

pkg install curl erlang devel/rebar git gmake libevent2

And I usually require:

pkg install aria2 net/mosh scons subversion sudo zsh pz7ip \
    pstree psearch rsync vim-lite tmux the_silver_searcher \
    tree ngrep pcbsd-utils pkgconf couchdb

swift can now be built with gmake swift-static for example.

Clone this wiki locally