Skip to content

Conversation

@cyyself
Copy link
Member

@cyyself cyyself commented May 6, 2024

We didn't have a script to build ready-to-run binaries, which would confuse some new XiangShan users and developers from the community and even make it hard to bump them when new features and bug fixes are added to spike or nemu. So adding this script to get this solved.

Note: Building on CentOS 7 is now a workaround for some EDA environments. I hope we will use some modern software package manager like Nix someday to run this software on the EDA environment.

@good-circle
Copy link
Contributor

Should we also bump riscv64-nemu-interpreter-dual-so with make riscv64-dual-xs-ref_defconfig?

@cyyself
Copy link
Member Author

cyyself commented May 6, 2024

Should we also bump riscv64-nemu-interpreter-dual-so with make riscv64-dual-xs-ref_defconfig?

We also bumped riscv64-nemu-interpreter-dual-so in bump-nemu.sh. We have make riscv64-dual-xs-ref_defconfig there is to fetch dependencies as a workaround for the old version of GNU Make as I commented in the shell script.

We didn't have a script to build ready-to-run binaries, which would confuse
some new XiangShan users and developers from the community and even make it
hard to bump them when new features and bug fixes are added to spike or
nemu. So adding this script to get this solved.

Note: Building on CentOS 7 is now a workaround for some EDA environments. I
hope we will use some modern software package manager like Nix someday to
run this software on the EDA environment.

Signed-off-by: Yangyu Chen <[email protected]>
@cyyself cyyself merged commit db269ce into master May 6, 2024
@cyyself cyyself deleted the add-docker branch May 6, 2024 11:09
@poemonsense
Copy link
Member

Is it possible to use GitHub ubuntu-20.04 CI servers to build them? Then we don't need this centos7. CI provides free ubuntu servers for actions.

@cyyself
Copy link
Member Author

cyyself commented May 11, 2024

Is it possible to use GitHub ubuntu-20.04 CI servers to build them? Then we don't need this centos7. CI provides free ubuntu servers for actions.

Centos7 is required for the EDA servers to use these binaries. I hope someday the EDA software we use can run on modem linux distros with newer glibc. If we want to build it on Ubuntu, we need to replace an old version of glibc and other libraries; in ubuntu-20.04, it is pretty tricky.

@poemonsense
Copy link
Member

Is it possible to use GitHub ubuntu-20.04 CI servers to build them? Then we don't need this centos7. CI provides free ubuntu servers for actions.

Centos7 is required for the EDA servers to use these binaries. I hope someday the EDA software we use can run on modem linux distros with newer glibc. If we want to build it on Ubuntu, we need to replace an old version of glibc and other libraries; in ubuntu-20.04, it is pretty tricky.

Previously we are building all so using ubuntu-20.04. They should work well on the eda servers

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.

5 participants