Conversation
TysonRayJones
commented
Jun 26, 2025
- renamed config.h to quest_config.h and made it an optional include which demands no macros are pre-defined, as per the discussions in Fix for quest.h generation #645
- added a COMPILE_HIP macro merely for book-keeping
- added TODO for 'installing' in compile.md doc
- explained quest_config.h in compile.md doc
- corrected a typo in docs/README.md
- renamed config.h to quest_config.h and made it an optional include which demands no macros are pre-defined, as per the discussions in #645 - added a COMPILE_HIP macro merely for book-keeping - added TODO for 'installing' in compile.md doc - explained quest_config.h in compile.md doc - corrected a typo in docs/README.md
|
EDIT: woops I've unhelpfully broken everything - I'll re-ping when patched but feel free to comment on the proposed changes generally! |
|
Ahh I had colossally brainfarted! Macro Perhaps there remains a way to handle it specially so that |
|
Ah bugger 😅 I was going to suggest making precision.h another CMake config'd file, but then that would permanently break make only building, sooooo, what about: Using CMake Then in precision.h: CMake users get one extra include file in the includes directory, but otherwise everything looks as it does now. Make users must define FLOAT_PRECISION when compiling either QuEST or onwards codes, or otherwise create precision_config.h? Edit to add: |
|
That I really like your idea to just make the otherwise-CMake-made file directly in the makefile or the manual bash script though! That's a much simpler and more elegant hack that's necessary only in the non-primary build method. So "main" CMake users are never exposed to mischief. I'll probably be slow in getting to this since it's a low-priority and I want to be super cautious I do it in a forward-maintainable way (in case |
|
Notes on refactor (which I'll hopefully find time to do this weekend 🤞 ):
|
|
superseded by #685 |