Skip to content

Update to easyblocks to add lfoss toolchain support [SCOTCH/MUMPS]#4069

Open
hattom wants to merge 2 commits intoeasybuilders:developfrom
hattom:scotch_llvm
Open

Update to easyblocks to add lfoss toolchain support [SCOTCH/MUMPS]#4069
hattom wants to merge 2 commits intoeasybuilders:developfrom
hattom:scotch_llvm

Conversation

@hattom
Copy link

@hattom hattom commented Feb 18, 2026

SCOTCH's Easyblock had two sections which explicitly depended on the toolchain:
The first was for the name of the Makefile:

if intel:
 ...
elif GCC:
 ...
else:
 raise ...

The other was for the restrict keyword:

if GCC:
  ...
else
  ...

For both cases, add LLVM to the GCC behaviour, and modify the syntax to match in both cases (compiler order, raise if else, define a comp_fam variable)

@hattom
Copy link
Author

hattom commented Feb 18, 2026

A generalization to support also NVHPC is left as a future exercise, but would presumably follow exactly the same pattern.

@hattom hattom changed the title SCOTCH: update easyblock for LLVM toolchain Update to easyblocks to add lfoss toolchain support [SCOTCH/MUMPS] Feb 18, 2026
@hattom
Copy link
Author

hattom commented Feb 18, 2026

btw -- I'm working my way through to get PETSc building. These are the problems that I've found so far, but I'm not finished yet (building python etc is taking a very long time).

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.

1 participant

Comments