Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add backward-cpp/1.6 #7053

Merged
merged 4 commits into from
Aug 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions recipes/backward-cpp/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ sources:
"1.5":
url: "https://github.com/bombela/backward-cpp/archive/v1.5.tar.gz"
sha256: "faf7d4fe7ca65117ed4fe7be9bff9628927bd95b49f71df63d5f99af233d1915"
"1.6":
url: "https://github.com/bombela/backward-cpp/archive/v1.6.tar.gz"
sha256: "c654d0923d43f1cea23d086729673498e4741fb2457e806cfaeaea7b20c97c10"
patches:
"1.4":
- patch_file: "patches/backward-cpp-1.4.patch"
Expand All @@ -25,3 +28,6 @@ patches:
base_path: "source_subfolder"
- patch_file: "patches/backward-cpp-1.5-mingw.patch"
base_path: "source_subfolder"
"1.6":
- patch_file: "patches/backward-cpp-1.5.patch"
base_path: "source_subfolder"
5 changes: 4 additions & 1 deletion recipes/backward-cpp/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ def validate(self):
if self.settings.os not in self._supported_os():
raise ConanInvalidConfiguration("upstream backward-cpp v{0} is not"
" supported in {1}.".format(self.version, self.settings.os))

if self.settings.compiler.get_safe("cppstd"):
tools.check_min_cppstd(self, 17)
if (self.settings.compiler == "gcc" or self.settings.compiler == "clang") and tools.Version(self.settings.compiler.version) <= 5:
raise ConanInvalidConfiguration("Compiler version is not supported")
if self.settings.os == "Macos" and \
not self._has_stack_details("backtrace_symbol"):
raise ConanInvalidConfiguration("only stack_details=backtrace_symbol"
Expand Down
2 changes: 2 additions & 0 deletions recipes/backward-cpp/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ versions:
folder: all
"1.5":
folder: all
"1.6":
folder: all