Detailed build directions for Blurt

in blurt •  4 years ago 

A 100% reasonable criticism is that our build has been poorly documented.

Let's go through the build step by step for Arch Linux with Clang 11:

 pacman -Syyu --noconfirm python-pip wget git bison doxygen base-devel clang ccache cmake npm yarn 

pip install conan

# make a conan folder
mkdir -p $HOME/conan/profiles/default

# clone blurt
git clone https:?/gitlab.com/blurt/blurt

# enter folderr
cd blurt

# copy conan profile
cp contrib/default /$HOME/.conan/profiles/default

export CC=clang
export CXX=clang++

mkdir build
cd buiild

conan install .. -if=. -pr=default --build=missing
cmake -DBLURT_STATIC_BUILD=ON -DLOW_MEMORY_NODE=OFF -DCLEAR_VOTES=OFF -DBUILD_BLURT_TESTNET=OFF -DSKIP_BY_TX_ID=OFF -DBLURT_LINT_LEVEL=OFF -DENABLE_MIRA=OFF -DCMAKE_BUILD_TYPE=Release ..
make -j$(nproc) blurtd cli_wallet

You'll note that OS dependencies are minimized.

Connan Proofile

[settings]
os=Linux
os_build=Linux
arch=amd64
arch_build=amd64
compiler=clang
compiler.version=11
compiler.libcxx=libstdc++11
build_type=Release
[options]
[build_requires]
[env]
CC=clang
CXX=clang++
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!
Sort Order:  
  ·  4 years ago  ·  

Do you always use ArchLinux? I have been using Ubuntu for years and I would like to participate in an open source community but I don't see it anywhere else.

  ·  4 years ago  ·  

Initially all this stuff was being done on Ubuntu or debian only.
it was recently that he decided to use arch Linux.

Actually, we are now platform independent

  ·  4 years ago  ·  

it means that we can use ubuntu , arch , or debian.

No, it means we are platform independent.

If your Linux OS has ncurses.so.6 or ncursesw.so.6 you're in luck, you can use Blurt there.

  ·  4 years ago  ·  

While i really don't have idea about arch Linux or ubuntu which one is better but anyways the detailed build is presented by you.

  ·  4 years ago  ·  

I knew Debian in its 3.0 version. From there I have tried many variants of distros dedicated to open source and I always come back to Debian, even I have tried manjaro is the most Arch that I have tried. I must admit that its strength lies in being a rolling release unlike debian that usually bets on longevity in their packages and are not so current.

Arch is pretty amazing but as of today we're distro-independent.

Just make sure that it can get at ncurses.so.6 (so if using arch symlink ncursesw.so.6 to ncurses.so.6)

  ·  4 years ago  ·  

I will take it into consideration. for all possible changes that are implemented and can be made from today. Always grateful Mr. I am your Padawan

It is important to have this documentation so that we can all participate.

  ·  4 years ago  ·  

More insight towards getting to the desired results @jacobgadikian

  ·  4 years ago  ·  

Wow!
Great innovation. Blurt future is secured already.
Well done sir!

Well I don't think so, I think that our future is secured when we have a thousand nodes and 200 backup witnesses and 40 consensus witnesses.

  ·  4 years ago  ·  

I am not expert on the coding and website building things. However, when I read the faq, I saw a lot of scopes for the improvement on that section as well. So, the necessity of the improvement in other major issues also not unexpected.