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

Fixed a Couple Simple Warnings #2515

Merged

Conversation

AlexandreSinger
Copy link
Contributor

During the CI build process of the new "R: Basic with CAPNPROTO disabled" job, there were a couple of basic warnings that I thought I would resolve.

The first were some warnings directly caused by CAPNPROTO being disabled:
image
These were easy to fix by commenting out the unused variables.

Next were some CMake warnings which appear to be affecting all builds:
image
It looks like the exec_program command was deprecated and the suggested replacement was to use the execute_process command instead. The syntax was similar, but required a few extra arguments in order to properly get the Git version.

Description

Related Issue

Motivation and Context

Some build warnings that showed up that caught my eye and I knew were simple to solve.

How Has This Been Tested?

Types of changes

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

A few variables were left unused when CAPNPROTO was disabled which were
giving warnings on the CI. Commented these unused variables out.
There were some CMake warnings during compile-time which were
complaining about exec_program being deprecated. Replaced with
execute_process which is a more verbose command to use anyways.
@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code libvtrutil labels Mar 22, 2024
@AlexandreSinger
Copy link
Contributor Author

@vaughnbetz Please review when you have a moment.

Instead of having two implementations of the same functions, it is
cleaner and would prevent regressions if there was a single
implementation with IFDEFs inside of it.

Combined the implementations of the ExtendedMapLookaead's read and write
methods.
@AlexandreSinger
Copy link
Contributor Author

@vaughnbetz I have resolved Soheil's comments and it passed CI again. Please review.

@vaughnbetz vaughnbetz merged commit 23535b0 into verilog-to-routing:master Mar 23, 2024
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-cpp C/C++ code libvtrutil VPR VPR FPGA Placement & Routing Tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants