-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[workspace] Simplify gfortran to be more platform-agnostic #20583
[workspace] Simplify gfortran to be more platform-agnostic #20583
Conversation
@drake-jenkins-bot mac-x86-monterey-clang-bazel-experimental-release please |
@drake-jenkins-bot mac-x86-monterey-clang-bazel-experimental-release please @drake-jenkins-bot linux-focal-unprovisioned-gcc-wheel-experimental-release please |
+@xuchenhan-tri for feature review, please. (I'm load-balancing a multiple PR train.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with one question.
+@SeanCurtis-TRI for platform review per rotation please.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: 1 unresolved discussion, LGTM missing from assignee SeanCurtis-TRI(platform)
tools/workspace/gfortran/repository.bzl
line 13 at r1 (raw file):
dumpversion = execute_or_fail(repo_ctx, [compiler, "-dumpversion"]).stdout repo_ctx.file( "version.bzl",
BTW, when and where is this version.bzl
file used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 1 unresolved discussion, LGTM missing from assignee SeanCurtis-TRI(platform)
tools/workspace/gfortran/repository.bzl
line 13 at r1 (raw file):
Previously, xuchenhan-tri wrote…
BTW, when and where is this
version.bzl
file used?
At the moment there is just one place:
./tools/workspace/snopt/fortran-ubuntu.bzl:2:load("@gfortran//:version.bzl", COMPILER_MAJOR = "MAJOR")
We use it to toggle some warning flags that are annoyingly version-specific in gfortran.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: complete! all discussions resolved, LGTM from assignees SeanCurtis-TRI(platform),xuchenhan-tri(platform)
Towards #14967.
This change is