Skip to content

Conversation

@leekillough
Copy link
Collaborator

  • Pass RVCXX to Rev tests -- previously, only RVCC was being passed
  • Use ${RVCXX} instead of a hard-coded compiler to compile C++ tests
  • Fix copy-and-paste comments about test names
  • Right now the unordered_map and unordered_map_obj tests need to use the old hard-coded compiler riscv64‑unknown‑elf‑g++ instead of ${RVCXX} because if the correct C++ compiler is used, the unordered_map calls floor() which uses the frflags instruction which is pending on #238 being finished.

@leekillough
Copy link
Collaborator Author

@kpgriesser : We use .cc for C++ files, so I renamed *.cpp to *.cc. This way we only need to handle one suffix.

… copy-and-paste comments

Work around frflags instruction not implemented until Zicsr extension is added

Rename *.cpp to *.cc; use ${RVCXX} and ${CXX} for C++ compiler
@kpgriesser
Copy link
Collaborator

All the changes look fine. Can you update the README.md so users know how to set these? The only mention in the document is this example: cmake -DRVCC=/path/to/riscv/compiler/exe. It would be good to clarify that these are associated with gcc and g++.

@leekillough leekillough merged commit 05c8987 into devel Jun 19, 2024
@leekillough leekillough deleted the fix_rvcxx branch June 27, 2024 01:10
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