File tree Expand file tree Collapse file tree 12 files changed +684
-6
lines changed Expand file tree Collapse file tree 12 files changed +684
-6
lines changed Original file line number Diff line number Diff line change @@ -114,14 +114,18 @@ install-ubuntu-deps::
114
114
git \
115
115
graphviz \
116
116
jq \
117
+ libgl-dev \
118
+ libxinerama-dev \
119
+ libxrandr-dev \
120
+ libfontconfig1-dev \
117
121
netcat-openbsd \
118
122
patchelf \
119
123
psmisc \
120
124
python3-pip \
121
125
python3-setuptools \
126
+ python3-venv \
122
127
time \
123
128
tmux \
124
- python3-venv \
125
129
;
126
130
127
131
# Require GCC and G++ version >= 8
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def set_version(self):
28
28
29
29
def requirements (self ):
30
30
self .requires ("eigen/3.4.0" )
31
- self .requires (f"esmini/2.37.0 @cloe/stable" )
31
+ self .requires (f"esmini/2.37.4 @cloe/stable" )
32
32
self .requires (f"cloe-runtime/{ self .version } @cloe/develop" )
33
33
self .requires (f"cloe-models/{ self .version } @cloe/develop" )
34
34
self .requires (f"cloe-osi/{ self .version } @cloe/develop" )
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def requirements(self):
33
33
self .requires (f"cloe-plugin-gndtruth-extractor/{ self .version } @cloe/develop" )
34
34
self .requires (f"cloe-plugin-virtue/{ self .version } @cloe/develop" )
35
35
self .requires (f"cloe-plugin-esmini/{ self .version } @cloe/develop" )
36
- self .requires ("esmini-data/2.37.0 @cloe/stable" )
36
+ self .requires ("esmini-data/2.37.4 @cloe/stable" )
37
37
38
38
# Overrides:
39
39
self .requires ("zlib/1.2.13" , override = True )
Original file line number Diff line number Diff line change @@ -3,5 +3,9 @@ override SOURCE_DIR := src
3
3
override PACKAGE_CHANNEL := cloe/stable
4
4
override CLEAN_SOURCE_DIR := true
5
5
6
+ # There are many versions that can be generated from this recipe,
7
+ # the current one that we want is defined here.
8
+ override PACKAGE_VERSION := 2.37.4
9
+
6
10
PROJECT_ROOT := ../..
7
11
include ${PROJECT_ROOT}/Makefile.package
Original file line number Diff line number Diff line change 1
1
---
2
2
sources :
3
+ 2.37.4 :
4
+ url :
5
+ - https://github.com/esmini/esmini/archive/refs/tags/v2.37.4.tar.gz
6
+ sha256 : " 6d765db38bc3769a867555f108c25b0d62029780d41784e429822ed35776bfc6"
3
7
2.37.0 :
4
8
url :
5
9
- https://github.com/esmini/esmini/archive/refs/tags/v2.37.0.tar.gz
6
10
sha256 : " a1f216411caa7d8782dd9c82683f8bac3f00d7da2f6370535726b6446c339e59"
7
11
patches :
8
- 2.37.0 :
12
+ 2.37.x : &esmini-2_37_x-patches
9
13
- patch_file : patches/2.37.0-test-driver-path.patch
10
14
patch_type : git
11
15
patch_description : >
12
16
Patch paths to reflect new position of test-driver.xosc.
17
+ 2.37.4 : *esmini-2_37_x-patches
18
+ 2.37.0 : *esmini-2_37_x-patches
Original file line number Diff line number Diff line change 8
8
9
9
class ESMiniData (ConanFile ):
10
10
name = "esmini-data"
11
- version = "2.37.0"
12
11
license = "MPL-2.0"
13
12
url = "https://github.com/esmini/esmini"
14
13
description = "Basic OpenScenario player example data"
Original file line number Diff line number Diff line change @@ -3,5 +3,9 @@ override SOURCE_DIR := src
3
3
override PACKAGE_CHANNEL := cloe/stable
4
4
override CLEAN_SOURCE_DIR := true
5
5
6
+ # There are many versions that can be generated from this recipe,
7
+ # the current one that we want is defined here.
8
+ override PACKAGE_VERSION := 2.37.4
9
+
6
10
PROJECT_ROOT := ../..
7
11
include ${PROJECT_ROOT}/Makefile.package
Original file line number Diff line number Diff line change 1
1
---
2
2
sources :
3
+ 2.37.4 :
4
+ url :
5
+ - https://github.com/esmini/esmini/archive/refs/tags/v2.37.4.tar.gz
6
+ sha256 : " 6d765db38bc3769a867555f108c25b0d62029780d41784e429822ed35776bfc6"
3
7
2.37.0 :
4
8
url :
5
9
- https://github.com/esmini/esmini/archive/refs/tags/v2.37.0.tar.gz
6
10
sha256 : " a1f216411caa7d8782dd9c82683f8bac3f00d7da2f6370535726b6446c339e59"
7
11
patches :
12
+ 2.37.4 :
13
+ - patch_file : patches/2.37.4_add_ctest.patch
14
+ patch_type : git
15
+ patch_description : >
16
+ Use CTest for running all unit tests.
17
+ - patch_file : patches/2.37.0_remove_operating_system_test.patch
18
+ patch_type : git
19
+ patch_description : >
20
+ Remove unnecessary operating system test. This intentionally fails and requires
21
+ a gtest filter to be used, but it's easier to just remove it.
22
+ - patch_file : patches/2.37.4_use_conan_osi_package.patch
23
+ patch_type : git
24
+ patch_description : >
25
+ Use open_simulation_interface package from Conan instead of downloaded version.
26
+ - patch_file : patches/2.37.4_disable_unittests_for_container.patch
27
+ patch_type : git
28
+ patch_description : >
29
+ Disable unit tests that only fail when we run within a container.
30
+ Presumably these unit tests require a running desktop environment.
8
31
2.37.0 :
9
32
- patch_file : patches/2.37.0_add_ctest.patch
10
33
patch_type : git
Original file line number Diff line number Diff line change 9
9
10
10
class ESMini (ConanFile ):
11
11
name = "esmini"
12
- version = "2.37.0"
13
12
license = "MPL-2.0"
14
13
url = "https://github.com/esmini/esmini"
15
14
description = "Basic OpenScenario player"
Original file line number Diff line number Diff line change
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index aec4cf5..46089bf 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -1,18 +1,9 @@
6
+ + cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
7
+ +
8
+ message(
9
+ STATUS "CMake version: "
10
+ ${CMAKE_VERSION})
11
+
12
+ - if(WIN32)
13
+ - cmake_minimum_required(
14
+ - VERSION 3.7.1 # for cmake generator VisualStudio 2017 support
15
+ - # VERSION 3.14 # for cmake generator VisualStudio 2019 support VERSION 3.19 # for cmake presets support
16
+ - FATAL_ERROR)
17
+ - else()
18
+ - cmake_minimum_required(
19
+ - VERSION 2.8.12
20
+ - FATAL_ERROR)
21
+ - endif()
22
+ -
23
+ # ############################# Project generate options ###########################################################
24
+
25
+ project(
26
+ @@ -98,6 +89,8 @@ set_property(
27
+ PROPERTY USE_FOLDERS
28
+ ON)
29
+
30
+ + include(CTest)
31
+ +
32
+ include(support/cmake/rule/project_options.cmake)
33
+
34
+ if(${CMAKE_SYSTEM_NAME}
35
+ diff --git a/support/cmake/common/unittest.cmake b/support/cmake/common/unittest.cmake
36
+ index 2df5b8a..edb9efe 100644
37
+ --- a/support/cmake/common/unittest.cmake
38
+ +++ b/support/cmake/common/unittest.cmake
39
+ @@ -2,6 +2,9 @@ include_guard()
40
+
41
+ # ############################### Building given unittest target ###################################################
42
+
43
+ + include(CTest)
44
+ + include(GoogleTest)
45
+ +
46
+ macro(
47
+ unittest
48
+ TARGET
49
+ @@ -55,5 +58,6 @@ macro(
50
+ add_test(
51
+ NAME ${TARGET}
52
+ COMMAND ${TARGET})
53
+ + gtest_add_tests(TARGET ${TARGET})
54
+
55
+ endmacro()
You can’t perform that action at this time.
0 commit comments