download spdlog to travis
This commit is contained in:
parent
875d784264
commit
ef3f6d5af8
|
@ -23,4 +23,11 @@ install:
|
||||||
- make -j 4 && make install
|
- make -j 4 && make install
|
||||||
- cd ../..
|
- cd ../..
|
||||||
- rm systemc-2.3.3.tar.gz
|
- rm systemc-2.3.3.tar.gz
|
||||||
|
- git clone https://github.com/gabime/spdlog.git
|
||||||
|
- cd spdlog && mkdir build
|
||||||
|
- cmake -H. -B_builds -DCMAKE_BUILD_TYPE=Release
|
||||||
|
- cmake --build _builds --config Release
|
||||||
|
- cmake -H. -B_builds -DCMAKE_INSTALL_PREFIX=build -DCMAKE_BUILD_TYPE=Release
|
||||||
|
- cmake --build _builds --target install
|
||||||
|
- cd ../..
|
||||||
- cd RISC-V-TLM
|
- cd RISC-V-TLM
|
||||||
|
|
|
@ -15,7 +15,7 @@ set(CMAKE_C_STANDARD 17)
|
||||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
set(CMAKE_PREFIX_PATH ../systemc-2.3.3/build/)
|
set(CMAKE_PREFIX_PATH ../systemc-2.3.3/build/)
|
||||||
set(CMAKE_PREFIX_PATH /usr/lib/x86_64-linux-gnu/cmake/spdlog/)
|
set(CMAKE_PREFIX_PATH ../spdlog/build/)
|
||||||
|
|
||||||
add_compile_options(-O3 -g -Wall -Wextra -Wunused-function -Wpedantic)
|
add_compile_options(-O3 -g -Wall -Wextra -Wunused-function -Wpedantic)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue