Quick Start - Llama-Group/Project-Llama GitHub Wiki
Quick Start C++
Super Quick Start C++
0 -> 1.3 -> 2.1
Xcode user: 1.5
Troubleshooting
Follow super quick start C++, if fail, go to Troubleshooting.
0. Create work directory
mkdir llama
cd llama
git clone --recursive https://github.com/Llama-Group/Project-Llama.git
1.0 Build Llama C++ library
./Project-Llama/build/build_cpp.sh
1.1 Build Llama C++ Example
./Project-Llama/build/build_cpp.sh -e [example name e.g. test_build]
1.2 Build Llama C++ Benchmark
./Project-Llama/build/build_cpp.sh -b [benchmark name e.g. sort_benchmark]
1.3 Build all above
./Project-Llama/build/build_cpp.sh all
1.4 Build for coverage test
./Project-Llama/build/build_cpp.sh all coverage
cd ../build_llama_cpp
make coverage
1.5 Generate Xcode project
./Project-Llama/build/build_cpp.sh -e [example name] xcode
or
./Project-Llama/build/build_cpp.sh -b [benchmark name] xcode
or
./Project-Llama/build/build_cpp.sh all xcode
2.0 Install Llama C++ library
TO BE ADDED
3.1 Run Llama Library Unit Test
./bin_llama_cpp/Llama_UnitTest
3.2 Run example/benchmark after build
./bin_llama_cpp/[example/benchmark name]