download spdlog to travis

This commit is contained in:
Màrius Montón 2021-11-26 01:05:08 +01:00
parent 875d784264
commit ef3f6d5af8
No known key found for this signature in database
GPG Key ID: FA199E7A752699F0
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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)