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

Add rules to build grammar tables in Android.mk for SPIRV-Tools. #188

Merged
merged 1 commit into from
Apr 1, 2016

Conversation

antiagainst
Copy link
Contributor

No description provided.

@dneto0
Copy link
Collaborator

dneto0 commented Apr 1, 2016

+1

$(SPVTOOLS_LOCAL_PATH)/source/grammar.json \
--opcode-file=$(1)/opcode.inc \
--operand-file=$(1)/operand.inc
@echo "[$(TARGET_ARCH_ABI)] Grammar: opcode.inc & operand.inc <= grammar.json"
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't need quotes here (and it doesn't fit with the rest of the output).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm afraid I cannot remove that because of the <= substring. Aligned them in 81247ec.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Might need the quotes since the "<" character is special to the shell.

@AWoloszyn
Copy link
Contributor

+2

@antiagainst antiagainst merged commit 9ede710 into google:master Apr 1, 2016
@antiagainst antiagainst deleted the spvtools-grammar-fix branch April 1, 2016 20:33
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.

None yet

3 participants