Skip to content

Instantly share code, notes, and snippets.

@mulle-nat
Last active April 11, 2020 12:28
Show Gist options
  • Save mulle-nat/c67140a8edf96006a4c4534fbc5cdc9b to your computer and use it in GitHub Desktop.
Save mulle-nat/c67140a8edf96006a4c4534fbc5cdc9b to your computer and use it in GitHub Desktop.
How to build mulle-aba in an ubuntu:bionic docker (manually without mulle-sde)
apt-get update
apt-get dist-upgrade
apt-get install -y cmake curl
# mulle-c11
mkdir src
cd src
curl -O -L https://github.com/mulle-c/mulle-c11/archive/4.0.0.tar.gz
tar xfz 4.0.0.tar.gz
cd mulle-c11-4.0.0/
mkdir build 2> /dev/null
( cd build ; cmake -DCMAKE_PREFIX_PATH=/usr/local -DCMAKE_BUILD_TYPE=Release .. ; make install; )
cd ..
# mulle-thread
curl -L -O https://github.com/mulle-concurrent/mulle-thread/archive/latest.tar.gz
curl -L -O https://github.com/mulle-concurrent/mintomic/archive/mulle-objc.tar.gz
tar xfz latest.tar.gz
rm latest.tar.gz
cd mulle-thread-latest/
tar xfz ../mulle-objc.tar.gz
mv mintomic-mulle-objc mintomic
mkdir build 2> /dev/null
( cd build ; cmake -DCMAKE_PREFIX_PATH=/usr/local -DCMAKE_BUILD_TYPE=Release .. ; make install; )
cd ..
# mulle-allocator
curl -L -O https://github.com/mulle-c/mulle-allocator/archive/latest.tar.gz
tar xfz latest.tar.gz
rm latest.tar.gz
cd mulle-allocator-latest/
mkdir build 2> /dev/null
( cd build ; cmake -DCMAKE_PREFIX_PATH=/usr/local -DCMAKE_BUILD_TYPE=Release .. ; make install; )
cd ..
# mulle-aba
curl -L -O https://github.com/mulle-concurrent/mulle-aba/archive/latest.tar.gz
tar xfz latest.tar.gz
rm latest.tar.gz
cd mulle-aba-latest/
mkdir build 2> /dev/null
( cd build ; cmake -DCMAKE_PREFIX_PATH=/usr/local -DCMAKE_BUILD_TYPE=Release .. ; make install; )
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment