Skip to content

Commit

Permalink
Fix travis build on master
Browse files Browse the repository at this point in the history
- add luajit
- remove terra/callff
- fix template issue
- add missing include
- search for sol in extern
  • Loading branch information
Aesylwinn committed May 20, 2018
1 parent 8a393d2 commit 3a68f4b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 22 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Expand Up @@ -35,7 +35,7 @@ addons:
# The other ones from OpenMW ppa
libbullet-dev, libswresample-dev, libopenscenegraph-3.4-dev, libmygui-dev,
# tes3mp stuff
libboost1.61-dev, libqt5opengl5-dev
libboost1.61-dev, libqt5opengl5-dev, libluajit-5.1-dev
]

coverity_scan:
Expand All @@ -60,8 +60,6 @@ matrix:
env:
- MATRIX_CC="CC=clang-3.8 && CXX=clang++-3.8"
allow_failures:
- env:
- MATRIX_CC="CC=clang-3.8 && CXX=clang++-3.8"
- env:
- ANALYZE="scan-build-3.8 --use-cc clang-3.8 --use-c++ clang++-3.8 "
- MATRIX_CC="CC=clang-3.8 && CXX=clang++-3.8"
Expand Down
12 changes: 0 additions & 12 deletions CI/before_install.linux.sh
Expand Up @@ -19,15 +19,3 @@ git clone https://github.com/TES3MP/RakNet
cd RakNet
cmake . -DRAKNET_ENABLE_DLL=OFF -DRAKNET_ENABLE_SAMPLES=OFF -DCMAKE_BUILD_TYPE=Release
make -j3

cd ~/
git clone https://github.com/Koncord/CallFF
cd CallFF
mkdir build
cd build
cmake ../
make -j3

cd ~/
wget https://github.com/zdevito/terra/releases/download/release-2016-03-25/terra-Linux-x86_64-332a506.zip
unzip terra-Linux-x86_64-332a506.zip
3 changes: 0 additions & 3 deletions CI/before_script.linux.sh
Expand Up @@ -10,7 +10,6 @@ if [ ! -z "${MATRIX_CC}" ]; then
fi

export RAKNET_ROOT=~/RakNet
export Terra_ROOT=~/terra-Linux-x86_64-332a506

export CODE_COVERAGE=0
if [ ! -z "${ANALYZE}" ]; then
Expand Down Expand Up @@ -38,5 +37,3 @@ ${ANALYZE}cmake .. \
-DUSE_SYSTEM_TINYXML=TRUE \
-DRakNet_LIBRARY_RELEASE=~/RakNet/lib/libRakNetLibStatic.a \
-DRakNet_LIBRARY_DEBUG=~/RakNet/lib/libRakNetLibStatic.a \
-DCallFF_INCLUDES=~/CallFF/include \
-DCallFF_LIBRARY=~/CallFF/build/src/libcallff.a
2 changes: 1 addition & 1 deletion apps/openmw-mp/CMakeLists.txt
Expand Up @@ -136,7 +136,7 @@ target_compile_definitions(tes3mp-server PRIVATE $<$<CONFIG:Debug>:SERVER_DEBUG>

set_property(TARGET tes3mp-server PROPERTY CXX_STANDARD 14)
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_options(tes3mp-server PRIVATE -Wno-ignored-qualifiers -ftemplate-depth=2048)
target_compile_options(tes3mp-server PRIVATE -Wno-ignored-qualifiers -ftemplate-depth=4096)
endif()

target_link_libraries(tes3mp-server
Expand Down
3 changes: 2 additions & 1 deletion apps/openmw-mp/stacktrace.cpp
Expand Up @@ -7,6 +7,7 @@

#ifndef _WIN32

#include <cxxabi.h>
#include <execinfo.h>

void stacktrace()
Expand Down Expand Up @@ -91,4 +92,4 @@ void stacktrace()
LOG_APPEND(Log::LOG_FATAL, swc.getData().c_str());
}

#endif
#endif
3 changes: 1 addition & 2 deletions cmake/FindSol2.cmake
Expand Up @@ -6,6 +6,5 @@ include(LibFindMacros)

libfind_pkg_detect(Sol2 sol2
FIND_PATH sol.hpp
)
PATHS ${CMAKE_SOURCE_DIR}/extern/sol/single/sol)
libfind_process(Sol2)

0 comments on commit 3a68f4b

Please sign in to comment.