Skip to content

Commit

Permalink
- add base settings for LCC; probably better to do it in different wa…
Browse files Browse the repository at this point in the history
…y...

Signed-off-by: SSE4 <tomskside@gmail.com>
  • Loading branch information
SSE4 committed Nov 11, 2020
1 parent fcad03e commit dc48321
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions conans/client/conf/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,16 @@ def _detect_compiler_version(result, output, profile_path):
result.append(("compiler.libcxx", "libCstd"))
elif compiler == "lcc":
result.append(("compiler.base", "gcc")) # do the same for Intel?
result.append(("compiler.base.libcxx", "libstdc++"))
version = Version(version)
if version >= "1.24":
result.append(("compiler.base.version", "7.3"))
elif version >= "1.23":
result.append(("compiler.base.version", "5.5"))
elif version >= "1.21":
result.append(("compiler.base.version", "4.8"))
else:
result.append(("compiler.base.version", "4.4"))


def _detect_os_arch(result, output):
Expand Down

0 comments on commit dc48321

Please sign in to comment.