Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ENV overrides & Internal Build Script #85

Merged
merged 6 commits into from
May 13, 2024

Conversation

novafacing
Copy link
Contributor

@novafacing novafacing commented May 7, 2024

Adds the following environment variables which override provided and default fields of the [package.metadata.simics] table in the Cargo.toml file of Simics module crates:

  • SIMICS_PACKAGE_PACKAGE_NAME
  • SIMICS_PACKAGE_PACKAGE_NUMBER
  • SIMICS_PACKAGE_NAME
  • SIMICS_PACKAGE_DESCRIPTION
  • SIMICS_PACKAGE_HOST
  • SIMICS_PACKAGE_VERSION
  • SIMICS_PACKAGE_BUILD_ID
  • SIMICS_PACKAGE_BUILD_ID_NAMESPACE
  • SIMICS_PACKAGE_CONFIDENTIALITY
  • SIMICS_PACKAGE_TYPE
  • SIMICS_PACKAGE_DOC_TITLE

This is most useful for cases like the also-added internal build-script, where the package version needs to be changed depending on the Simics version it is compiled against.

Also adds internal build-scripts for compatibility builds and updates all build scripts to directly download Rust instead of using Rustup. This allows for fully offline dockerized builds which makes things easier for people with finnicky VPNs and Proxies.

@novafacing novafacing requested a review from tklengyel May 7, 2024 20:45
@novafacing novafacing changed the title Add ENV overrides Add ENV overrides & Internal Build Script May 7, 2024
@novafacing novafacing merged commit d888120 into intel:main May 13, 2024
15 of 16 checks passed
@novafacing novafacing deleted the internal-build-script branch May 13, 2024 22:10
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.

3 participants