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

Upgrade OpenROAD #196

Merged
merged 7 commits into from
Oct 4, 2023
Merged

Upgrade OpenROAD #196

merged 7 commits into from
Oct 4, 2023

Conversation

mithro
Copy link
Member

@mithro mithro commented Sep 20, 2023

@mithro mithro requested a review from QuantamHD September 20, 2023 18:33
@mithro mithro changed the title WIP: OpenROAD upgrade Upgrade OpenROAD Oct 4, 2023
@mithro mithro marked this pull request as ready for review October 4, 2023 02:23
@mithro mithro requested a review from QuantamHD October 4, 2023 02:32
@mithro
Copy link
Member Author

mithro commented Oct 4, 2023

I'm unsure if there is a better way to do the eigen change and the ortools include patch.

@mithro
Copy link
Member Author

mithro commented Oct 4, 2023

Seems to be currently failing due to;

Step #1: Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
Step #1: In file included from external/org_theopenroadproject/src/odb/src/db/dbTechMinCutOrAreaRule.cpp:41:
Step #1: external/org_theopenroadproject/src/odb/include/odb/lefout.h:35:10: fatal error: 'boost/polygon/polygon.hpp' file not found
Step #1: #include <boost/polygon/polygon.hpp>
Step #1:          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Step #1: 1 error generated.
Step #1: INFO: Elapsed time: 1504.421s, Critical Path: 123.36s
Step #1: INFO: 6047 processes: 3718 remote cache hit, 1755 internal, 572 linux-sandbox, 2 local.
Step #1: FAILED: Build did NOT complete successfully
Step #1: INFO: Streaming build results to: https://app.buildbuddy.io/invocation/cb596038-6263-11ee-bd15-0242c0a80a02
Step #1: FAILED: Build did NOT complete successfully

@QuantamHD
Copy link
Collaborator

The dependency support test is weird it's also failing for Eric. I don't see it defined anywhere though

ericastor and others added 7 commits October 4, 2023 11:56
This requires;
 * Updating the `absl` version.
 * Adding `protobuf` library.
 * Rework the `eigen` usage.

Signed-off-by: Tim 'mithro' Ansell <[email protected]>
Signed-off-by: Tim 'mithro' Ansell <[email protected]>
Signed-off-by: Tim 'mithro' Ansell <[email protected]>
@QuantamHD
Copy link
Collaborator

LGTM

Comment on lines +48 to +60
new_git_repository,
name = "eigen",
tag = "3.4.0",
remote = "https://gitlab.com/libeigen/eigen.git",
build_file_content = """
cc_library(
name = 'eigen3',
srcs = [],
includes = ['.'],
hdrs = glob(['Eigen/**']),
visibility = ['//visibility:public'],
)
""",
Copy link
Collaborator

Choose a reason for hiding this comment

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

We do have an eigen already is that one not compatible with ortools?

Copy link
Member Author

Choose a reason for hiding this comment

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

I wasn't able to figure out how to map the ortools dependency to the one we already had.

@mithro mithro merged commit 64688e6 into hdl:main Oct 4, 2023
4 checks passed
@mithro mithro deleted the openroad-upgrade branch October 4, 2023 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants