RaftLib
The RaftLib C++ library, streaming/dataflow concurrency via C++ iostream-like operators
File Explorer
Download Latest Version (.zip)- commit-msg
- bug_report.md
- feature_request.md
- release.yml
- test.yml
- PULL_REQUEST_TEMPLATE
- CheckGitDep.cmake
- CheckSTD.cmake
- Colors.cmake
- FindQThreads.cmake
- PkgConfigHelper.cmake
- alice.txt
- bmh.cpp
- CMakeLists.txt
- CMakeLists.txt
- CMakeLists.txt
- multapp.cpp
- CMakeLists.txt
- Makefile
- pisim.cpp
- alice.txt
- CMakeLists.txt
- rbzip2.cpp
- README.md
- CMakeLists.txt
- readtest.cpp
- CMakeLists.txt
- simple.cpp
- simple2.cpp
- CMakeLists.txt
- singlequeue.cpp
- CMakeLists.txt
- sumapp.cpp
- CMakeLists.txt
- CMakeLists.txt
- contours.cpp
- README.md
- CMakeLists.txt
- affinity
- cmdargs
- demangle
- gitmodules.cmake
- highwayhash
- shm
- cacheinfo.cpp
- CMakeLists.txt
- CMakeLists.txt
- gitdepFind.sh
- alloc_defs.hpp
- alloc_traits.tcc
- allocate.hpp
- arrivalratesampletype.tcc
- autorelease.tcc
- autoreleasebase.hpp
- basicparallel.hpp
- blocked.hpp
- bufferdata.tcc
- chunkiterator.tcc
- CMakeLists.txt
- common.hpp
- container.tcc
- database.tcc
- datamanager.tcc
- dct.tcc
- defs.hpp
- departureratesampletype.tcc
- dynalloc.hpp
- element.tcc
- fifo.hpp
- fifoabstract.tcc
- filechunk.tcc
- fileio.tcc
- filter.tcc
- foreach.tcc
- graph.tcc
- graphtools.hpp
- interface_partition.hpp
- internaldefs.hpp
- join.tcc
- kernel.hpp
- kernel_all.hpp
- kernel_pair_t.hpp
- kernel_wrapper.hpp
- kernelexception.hpp
- kernelkeeper.tcc
- kernelmanip.tcc
- klayer.tcc
- kpair.hpp
- kset.tcc
- lambdak.tcc
- leastusedfirst.hpp
- makedot.hpp
- map.hpp
- mapbase.hpp
- mapexception.hpp
- meansampletype.tcc
- noparallel.hpp
- parallelk.hpp
- partition_basic.hpp
- partition_dummy.hpp
- partition_scotch.hpp
- partitioners.hpp
- pointer.hpp
- poolschedule.hpp
- port.hpp
- port_info.hpp
- port_info_types.hpp
- portbase.hpp
- portexception.hpp
- portiterator.hpp
- portmap_t.hpp
- porttemplate.hpp
- prefetch.hpp
- print.tcc
- raftexception.hpp
- raftmanip.hpp
- raftmath.tcc
- rafttypes.hpp
- random.tcc
- ratesampletype.tcc
- readeach.tcc
- reduce.tcc
- ringbuffer.tcc
- ringbufferbase.tcc
- ringbufferheap.tcc
- ringbufferheap_abstract.tcc
- ringbufferheap_lessabstract.tcc
- ringbufferinfinite.tcc
- ringbuffershm.tcc
- ringbuffertypes.hpp
- roundrobin.hpp
- sample.tcc
- sampletype.tcc
- schedule.hpp
- search.tcc
- select.tcc
- signal.hpp
- signaldata.hpp
- signalvars.hpp
- simpleschedule.hpp
- split.tcc
- splitmethod.hpp
- stat.tcc
- stdalloc.hpp
- streamingstat.tcc
- submap.hpp
- sysschedutil.hpp
- systemsignal.hpp
- systemsignalfifo.hpp
- systemsignalhandler.hpp
- threadaccess.hpp
- typecheck.hpp
- typecheckimpl.tcc
- units.hpp
- utility.hpp
- writeeach.tcc
- allocate.cpp
- basicparallel.cpp
- blocked.cpp
- CMakeLists.txt
- common.cpp
- dynalloc.cpp
- fifo.cpp
- graphtools.cpp
- kernel.cpp
- kernel_all.cpp
- kernel_pair_t.cpp
- kernel_wrapper.cpp
- kernelexception.cpp
- kpair.cpp
- leastusedfirst.cpp
- makedot.cpp
- map.cpp
- mapbase.cpp
- mapexception.cpp
- noparallel.cpp
- parallelk.cpp
- partition_basic.cpp
- partition_dummy.cpp
- partition_scotch.cpp
- pointer.cpp
- poolschedule.cpp
- port.cpp
- port_info.cpp
- portexception.cpp
- portiterator.cpp
- porttemplate.cpp
- raftexception.cpp
- roundrobin.cpp
- schedule.cpp
- signal.cpp
- signaldata.cpp
- simpleschedule.cpp
- stdalloc.cpp
- submap.cpp
- sysschedutil.cpp
- systemsignalhandler.cpp
- alice.txt
- allocate.cpp
- allocate_s.cpp
- allocate_s_string.cpp
- allocatePopExternal.cpp
- allocatePopInternal.cpp
- allocatePopInternalObject.cpp
- allocatePopPush.cpp
- allocateSendPush.cpp
- allocateSendRandomPush.cpp
- allpush.cpp
- ap.cpp
- bracketsTest.cpp
- chain.cpp
- chainMultiplePorts.cpp
- CMakeLists.txt
- disconnectedGraph.cpp
- doesntFitInCacheLine.cpp
- dynallocate.cpp
- exponential.cpp
- fitInCacheLine.cpp
- fixedAllocate.cpp
- fixedMatchTest.cpp
- foodef.tcc
- foreach.cpp
- gamma.cpp
- gaussian.cpp
- generate.tcc
- grepbyteCount
- isExtAlloc.cpp
- isExtArray.cpp
- isExtClass.cpp
- isInlineClass.cpp
- isInlineNonClass.cpp
- join.cpp
- ksettest.cpp
- lambdatest.cpp
- multiPrint.cpp
- non_trivial_obj_def.tcc
- nonTrivialAllocatorPop.cpp
- nonTrivialAllocatorPopExternal.cpp
- noPortException.cpp
- parallel.cpp
- parallelchain.cpp
- partitionTest.cpp
- peek.cpp
- peekrange.cpp
- poolThreadRaftManip.cpp
- portTypeException.cpp
- reduction.cpp
- select_in_t.cpp
- sequential.cpp
- split.cpp
- splitchain.cpp
- splitchainRetStruct.cpp
- staticContJoin.cpp
- staticContJoinRetStruct.cpp
- staticJoin.cpp
- staticJoinRetStruct.cpp
- staticLongSplitChain.cpp
- staticLongSplitChainRetStruct.cpp
- staticSplitChainJoin.cpp
- staticSplitChainJoinRetStruct.cpp
- staticSplitJoin.cpp
- staticSplitJoinRetStruct.cpp
- stdlibsupport.cpp
- streamManipUtils.h
- stringAlloc.cpp
- testraft10.cpp
- TODO.md
- twiceAdd.cpp
- uniform.cpp
- vectorAlloc.cpp
- .gitignore
- .gitmodules
- CHANGELOG.md
- CMakeLists.txt
- Doxyfile
- LICENSE
- raft
- raftalgorithm
- raftio
- raftlib.pc.in
- raftmanip
- raftmath
- raftrandom
- raftstat
- raftutility
- README.md
- version.json
π Installation Guide
1. Get the code
git clone https://github.com/RaftLib/RaftLib
Downloads the entire project code from GitHub to your computer.
cd RaftLib
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
you'll need to add to your cmake invocation:
Type this command into your terminal and run it.
Feel free to substitute your favorite build tool. I use Ninja and make depending on which machine I'm on. To change out, use cmake to generate the appropriate build files with the -Gxxx flag.
Type this command into your terminal and run it.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
Pulled directly from this repo's README.
3. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
cd examples/general/pi
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
