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

fix(Build): Load MSYS2 Before Native Windows Make #757

Merged
merged 4 commits into from
Oct 6, 2023

Conversation

Jake-Carter
Copy link
Contributor

@Jake-Carter Jake-Carter commented Oct 6, 2023

Description

Testing shows the legacy "split" Makefiles for RISC-V projects are hard-coded for MSYS2/unix style paths. Ex: Hello_World-riscv

Installing the native Windows Make broke these projects, because I loaded the native version before the MSYS2 version.

image

Additionally, colorized output breaks if native Windows Make is used, but MSYS2 /usr/bin is on the PATH.

image

This PR makes the MSYS2 take precedence over the native version so we don't break anything. Switching to the native version will be an "opt-in" feature for this release.

See also https://github.com/Analog-Devices-MSDK/Packages/pull/4, which does this for setenv.bat.

Checklist Before Requesting Review

  • PR Title follows correct guidelines.
  • Description of changes and all other relevant information.
  • (Optional) Link any related GitHub issues using a keyword
  • (Optional) Provide info on any relevant functional testing/validation. For API changes or significant features, this is not optional.

@Jake-Carter Jake-Carter changed the title (fix, Build) Load MSYS2 Before Native Windows Make (fix, Build): Load MSYS2 Before Native Windows Make Oct 6, 2023
@Jake-Carter Jake-Carter changed the title (fix, Build): Load MSYS2 Before Native Windows Make fix(Build): Load MSYS2 Before Native Windows Make Oct 6, 2023
@Jake-Carter
Copy link
Contributor Author

Regenerating project files now.

@github-actions github-actions bot added the MAX78002 Related to the MAX78002 (AI87) label Oct 6, 2023
@Jake-Carter Jake-Carter merged commit deaeeb8 into analogdevicesinc:main Oct 6, 2023
8 checks passed
@Jake-Carter Jake-Carter deleted the fix/native-make branch October 6, 2023 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MAX78002 Related to the MAX78002 (AI87)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants