Skip to content

Remove conda from build-toolchains-extra.sh#1266

Merged
abejgonzalez merged 1 commit intofull-setupfrom
no-conda
Dec 12, 2022
Merged

Remove conda from build-toolchains-extra.sh#1266
abejgonzalez merged 1 commit intofull-setupfrom
no-conda

Conversation

@abejgonzalez
Copy link
Copy Markdown
Contributor

@abejgonzalez abejgonzalez commented Oct 22, 2022

Rework of #1259 to better support non-conda users. Removes conda variables from build-toolchain-extra.sh. build-setup.sh now needs RISCV defined if users are skipping conda.

Related PRs / Issues:

Type of change:

  • Bug fix
  • New feature
  • Other enhancement

Impact:

  • RTL change
  • Software change (RISC-V software)
  • Build system change
  • Other

Contributor Checklist:

  • Did you set main as the base branch?
  • Is this PR's title suitable for inclusion in the changelog and have you added a changelog:<topic> label?
  • Did you state the type-of-change/impact?
  • Did you delete any extraneous prints/debugging code?
  • Did you mark the PR with a changelog: label?
  • (If applicable) Did you update the conda .conda-lock.yml file if you updated the conda requirements file?
  • (If applicable) Did you add documentation for the feature?
  • (If applicable) Did you add a test demonstrating the PR?
  • (If applicable) Did you mark the PR as Please Backport?

build-setup.sh Outdated
fi
PREFIX=$RISCV
fi
$RDIR/scripts/build-toolchain-extra.sh $TOOLCHAIN -p $PREFIX
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.

What is the use case for skip-toolchain-extra? It might be cleaner to remove this option entirely? Building the toolchain-extra components should be very fast.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No good reason that I could think of. In the past, I tried to make it so that the build-setup.sh script could opt out of running particular scripts but I agree with you that most people don't mind the extra runtime (and if they do, then they are most likely power users who would like to run the scripts separately).

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.

Yeah. I'm in favor of just removing the skip-extra case.

@abejgonzalez abejgonzalez changed the base branch from main to full-setup December 12, 2022 18:57
@abejgonzalez abejgonzalez merged commit ef6093a into full-setup Dec 12, 2022
@jerryz123 jerryz123 deleted the no-conda branch February 13, 2023 07:52
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