Skip to content

Add cross-compilation parameters for RISCV64 targets in CMake#5389

Merged
martin-frbg merged 2 commits intoOpenMathLib:developfrom
martin-frbg:issue5388
Jul 22, 2025
Merged

Add cross-compilation parameters for RISCV64 targets in CMake#5389
martin-frbg merged 2 commits intoOpenMathLib:developfrom
martin-frbg:issue5388

Conversation

@martin-frbg
Copy link
Copy Markdown
Collaborator

@martin-frbg martin-frbg commented Jul 21, 2025

for #5388

@martin-frbg martin-frbg added this to the 0.3.31 milestone Jul 21, 2025
@martin-frbg martin-frbg merged commit 4ae8707 into OpenMathLib:develop Jul 22, 2025
81 of 95 checks passed
Comment thread cmake/prebuild.cmake
file(APPEND ${TARGET_CONF_TEMP}
"#define L1_DATA_SIZE 65536\n"
"#define L1_DATA_LINESIZE 32\n"
"#define L2_SIZE 262144\n"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@martin-frbg Is this right? Seems a bit small for L2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe 2097152?

Comment thread cmake/prebuild.cmake
file(APPEND ${TARGET_CONF_TEMP}
"#define L1_DATA_SIZE 65536\n"
"#define L1_LINESIZE 32 \n"
"#define L2_SIZE 262144\n"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same here

@martin-frbg
Copy link
Copy Markdown
Collaborator Author

You would probably know - not sure offhand where I got that number from, likely I did not find an official datasheet or other reliable source and just put a "safe" smallish number that should fit all kinds of hardware configurations

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.

2 participants