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

[workspace] Build vendored clp_internal from source #19928

Merged

Conversation

jwnimmer-tri
Copy link
Collaborator

@jwnimmer-tri jwnimmer-tri commented Aug 3, 2023

Towards #17231.


This change is Reviewable

@jwnimmer-tri
Copy link
Collaborator Author

@drake-jenkins-bot linux-focal-unprovisioned-gcc-wheel-experimental-release please
@drake-jenkins-bot mac-arm-monterey-unprovisioned-clang-wheel-experimental-release please
@drake-jenkins-bot mac-x86-monterey-unprovisioned-clang-wheel-experimental-release please

@jwnimmer-tri jwnimmer-tri force-pushed the workspace-clp-source-rebuild branch from fdde418 to 2df255f Compare August 7, 2023 18:33
@jwnimmer-tri
Copy link
Collaborator Author

@drake-jenkins-bot linux-focal-unprovisioned-gcc-wheel-experimental-release please
@drake-jenkins-bot mac-arm-monterey-unprovisioned-clang-wheel-experimental-release please
@drake-jenkins-bot mac-x86-monterey-unprovisioned-clang-wheel-experimental-release please

@jwnimmer-tri
Copy link
Collaborator Author

+@rpoyner-tri for feature review, please.

Copy link
Collaborator Author

@jwnimmer-tri jwnimmer-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 15 of 24 files at r1, 9 of 10 files at r2, 1 of 1 files at r3, 3 of 3 files at r4, all commit messages.
Reviewable status: LGTM missing from assignee rpoyner-tri(platform), needs at least two assigned reviewers

Copy link
Contributor

@rpoyner-tri rpoyner-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 15 of 24 files at r1, 6 of 10 files at r2, 1 of 1 files at r3, 3 of 3 files at r4, all commit messages.
Reviewable status: 2 unresolved discussions, needs at least two assigned reviewers


tools/workspace/coinutils_internal/defs.bzl line 182 at r4 (raw file):

            outs = [vendor_src + ".patch"],
            cmd = " ".join([
                "(diff -U0",

btw I'm curious what difference this makes.


tools/workspace/ipopt_internal_fromsource/package.BUILD.bazel line 383 at r4 (raw file):

    ],
    allowed_externals = [
        "@drake//tools/workspace/ipopt_internal_fromsource:patches",

The changes in this file look like strays from other work, maybe?

Deprecate the clp external.

Having discovered during Clp that we don't actually have <ieeefp.h>
available on any of our platforms, fix that same mistake in Ipopt
build rules. It's currently dead code there, but would be a time bomb
on upgrades in case it ever did start to be used.
@jwnimmer-tri jwnimmer-tri force-pushed the workspace-clp-source-rebuild branch from d2d3d79 to 2722a17 Compare August 7, 2023 22:27
Copy link
Collaborator Author

@jwnimmer-tri jwnimmer-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+@sherm1 for platform review per schedule, please.

Reviewed all commit messages.
Reviewable status: 2 unresolved discussions, LGTM missing from assignee sherm1(platform)


tools/workspace/coinutils_internal/defs.bzl line 182 at r4 (raw file):

Previously, rpoyner-tri (Rick Poyner (rico)) wrote…

btw I'm curious what difference this makes.

macOS rejects the -u spelling as deprecated.


tools/workspace/ipopt_internal_fromsource/package.BUILD.bazel line 383 at r4 (raw file):
This hunk is not stray:

The glob might be empty if we don't have any patches at the moment,

but we'll keep the boilerplate here as a fail-safe.

I'll edit the comment message to mention the AUTOCONF_UNDEFINES.

Copy link
Collaborator Author

@jwnimmer-tri jwnimmer-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 2 unresolved discussions, LGTM missing from assignee sherm1(platform)


tools/workspace/coinutils_internal/defs.bzl line 182 at r4 (raw file):

Previously, jwnimmer-tri (Jeremy Nimmer) wrote…

macOS rejects the -u spelling as deprecated.

(Which wasn't a problem for Ipopt because we only build that from source on Ubuntu. Now that we're building more Coin stuff from source for both platforms, it became relevant.)

Copy link
Collaborator Author

@jwnimmer-tri jwnimmer-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 2 unresolved discussions, LGTM missing from assignee sherm1(platform)


tools/workspace/ipopt_internal_fromsource/package.BUILD.bazel line 383 at r4 (raw file):

Previously, jwnimmer-tri (Jeremy Nimmer) wrote…

This hunk is not stray:

The glob might be empty if we don't have any patches at the moment,

but we'll keep the boilerplate here as a fail-safe.

I'll edit the comment message to mention the AUTOCONF_UNDEFINES.

Wow. That was supposed to be a quoted # comment, not NEW YORK CASE.

Copy link
Contributor

@rpoyner-tri rpoyner-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed all commit messages.
Reviewable status: LGTM missing from assignee sherm1(platform)

Copy link
Member

@sherm1 sherm1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a lot of repetition and magical boilerplate here which makes me wonder if future upgrades will be difficult to do for the COIN packages. But ... I don't know of a better way. Platform :lgtm:

Reviewed 15 of 24 files at r1, 6 of 10 files at r2, 1 of 1 files at r3, 3 of 3 files at r4, all commit messages.
Reviewable status: :shipit: complete! all discussions resolved, LGTM from assignees rpoyner-tri(platform),sherm1(platform)

@sherm1 sherm1 merged commit 675e7db into RobotLocomotion:master Aug 8, 2023
@jwnimmer-tri jwnimmer-tri deleted the workspace-clp-source-rebuild branch August 8, 2023 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low release notes: fix This pull request contains fixes (no new features) release notes: newly deprecated This pull request contains new deprecations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants