Repository navigation
Conversation
|
I needed to disable pubsub for macos, but I prefer that than changes too much. This PR should enable building 2.4.x on supported platform again |
PengZheng
left a comment
There was a problem hiding this comment.
Overall LGTM. I just left some minor comments.
| or self.options.build_rsa_discovery_common or self.options.build_rsa_remote_service_admin_dfi | ||
| or self.options.build_launcher): | ||
| self.requires("libcurl/[>=8.4.0 <9.0.0]") | ||
| self.requires("libcurl/8.4.0") |
There was a problem hiding this comment.
Why fix libcurl, which is a main source of CVEs in my day job, to a single version?
| self.requires("libzip/[>=1.7.3 <2.0.0]") | ||
| if self.options.build_framework or self.options.build_pubsub: | ||
| self.requires("util-linux-libuuid/[>=2.39 <3.0.0]") | ||
| self.requires("util-linux-libuuid/2.39.2") |
There was a problem hiding this comment.
Is this related to the following in the trunk?
if self.options.build_framework:
self.requires("util-linux-libuuid/[>=2.39 <3.0.0]")
if self.settings.os == "Macos":
self.requires("gettext/0.21") #needed on MacOS 15 by libuuid| endif() | ||
| if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 11.0) | ||
| set(CMAKE_C_FLAGS "-Wno-error=stringop-overread ${CMAKE_C_FLAGS}") | ||
| set(CMAKE_C_FLAGS "-Wno-dangling-pointer -Wno-use-after-free -Wno-maybe-uninitialized ${CMAKE_C_FLAGS}") |
There was a problem hiding this comment.
These -Wno-xxx smell dangerouse. But we may remove them later
| if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 11.0) | ||
| set(CMAKE_C_FLAGS "-Wno-error=stringop-overread ${CMAKE_C_FLAGS}") | ||
| set(CMAKE_C_FLAGS "-Wno-dangling-pointer -Wno-use-after-free -Wno-maybe-uninitialized ${CMAKE_C_FLAGS}") | ||
| set(CMAKE_C_FLAGS "-Wno-restrict ${CMAKE_C_FLAGS}") |
There was a problem hiding this comment.
Shall we append these -Wno-xxx to various flags rather prepend them, so that they will not be overriden by the following -Wall -Werror?
| ctest --output-on-failure | ||
| source deactivate_conanrun.sh | ||
| run: ctest --preset conan-release --output-on-failure -j1 | ||
|
|
There was a problem hiding this comment.
Why remove macos-build-brew?
This PR adds DevContainer support to and updates the CI to supported Ubunt/MacOs versions for the 2.4 support branch.
In more details:
Build system