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 macOS and Linux support, fix Windows build Regression #4

Merged
merged 10 commits into from
Jul 1, 2024

Conversation

garrettsummerfi3ld
Copy link
Member

@garrettsummerfi3ld garrettsummerfi3ld commented Jun 12, 2024

Major refactor of the download-CanBridge.mjs script.

Points to the correct repository now instead of the upstream repository.

Added proper support for macOS, Linux, ARM64, and ARM32 based systems.

Rewrote handling artifacts from unzipping, to moving artifacts to correct directories based on what platforms are downloaded and what is currently running on.

Added documentation to helper functions.

Closes #2 and #3

Points to the correct repository now instead of the upstream repository
@garrettsummerfi3ld garrettsummerfi3ld self-assigned this Jun 12, 2024
Added proper support for macOS, Linux, ARM64, and ARM32 based systems.

Rewrote handling artifacts from unzipping, to moving artifacts to correct directories based on what platforms are downloaded and what is currently running on.

Added documentation to helper functions.
New platforms are able to link and build. Tested on macOS.
Enabling exceptions for the compiler causes the project to build without issues, as the compiler would not like having no exception support similar to how macOS operates.
@garrettsummerfi3ld garrettsummerfi3ld changed the title Update download-CanBridge.mjs Add macOS and Linux support Jun 23, 2024
qwertychouskie and others added 5 commits June 23, 2024 22:37
Might need more work but at least it doesn't error
On Windows builds, there was an issue with dependencies not copying and therefore not linking when building native modules, this is now fixed.
Removed duplicated builds and renamed builds of CANBridge.
The stopHeartbeats function was removed in a previous commit, which caused MSVC builds to break. This commit re-adds the function to fix the build. The function will need to be reimplemented with the current codebase, as of right now this does nothing.
@garrettsummerfi3ld garrettsummerfi3ld changed the title Add macOS and Linux support Add macOS and Linux support, fix Windows build Regression Jul 1, 2024
@garrettsummerfi3ld garrettsummerfi3ld linked an issue Jul 1, 2024 that may be closed by this pull request
@qwertychouskie qwertychouskie merged commit c67f0e3 into main Jul 1, 2024
0 of 3 checks passed
@qwertychouskie qwertychouskie deleted the fix/canbridge branch July 1, 2024 04:19
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.

Investigate Windows failure Use C++20 on Linux
2 participants