This project contains a small Seastar program and minimal cmake scaffolding for building both the sample program and seastar as a dependency.
git submodule update --init --recursive
sudo ./install-deps.sh
cmake .
make
./main
Running the program ./main --msg sup
should produce output similar to:
msg: "sup" from core 0
msg: "sup" from core 1
msg: "sup" from core 2
msg: "sup" from core 3
msg: "sup" from core 4
msg: "sup" from core 5
msg: "sup" from core 6
msg: "sup" from core 7
msg: "sup" from core 8
msg: "sup" from core 9
msg: "sup" from core 10
msg: "sup" from core 11
- The Seastar tutorial
- ScyllaDB is a large project that uses Seastar.
- CMake tutorial
Tested on
- Fedora 30
See test.sh
for details.