Skip to content

Conversation

@leandron
Copy link
Contributor

@leandron leandron commented Mar 12, 2021

Allow options on --target to contain dots.

  • Allow tvmc compile --target=*** options to accept dots
  • Adds testing for dot separator in quoted and unquoted values
  • Add an "unquoting" conditional so that quoted and unquoted strings look the same when parsed

cc @u99127 @comaniac @giuseros for reviews when possible.

 * Allow tvmc compile --target options to accept dots
 * Adds testing for dot separator in quoted and unquoted
   values
 * Add an "unquoting" conditional so that quoted and
   unquoted strings look the same when parsed
Copy link
Contributor

@giuseros giuseros left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this @leandron ! I only have a minor comment, then it LGTM

Copy link
Contributor

@comaniac comaniac left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM.

@comaniac comaniac merged commit fe25b9e into apache:main Mar 12, 2021
@comaniac
Copy link
Contributor

Thanks @leandron @giuseros.
The follow-up PR will improve the readability and unit tests of target matching regex.

@leandron leandron deleted the fix_tvmc_target_parser branch March 12, 2021 19:05
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
* Allow tvmc compile --target options to accept dots
 * Adds testing for dot separator in quoted and unquoted
   values
 * Add an "unquoting" conditional so that quoted and
   unquoted strings look the same when parsed
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request May 11, 2021
* Allow tvmc compile --target options to accept dots
 * Adds testing for dot separator in quoted and unquoted
   values
 * Add an "unquoting" conditional so that quoted and
   unquoted strings look the same when parsed
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.

3 participants