Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

Version Float To Int For libgfortran #13

Open
wants to merge 1 commit into
base: release/3.7.1
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def system_requirements(self):
if versionfloat < "5.0":
installer.install("libgfortran-{}-dev".format(versionfloat))
else:
installer.install("libgfortran-{}-dev".format(int(versionfloat)))
installer.install("libgfortran-{}-dev".format(int(float(versionfloat))))
if tools.os_info.is_macos and Version(self.settings.compiler.version.value) > "7.3":
try:
installer.install("gcc", update=True, force=True)
Expand Down