metacall / core

MetaCall: The ultimate polyglot programming experience.
https://metacall.io
Apache License 2.0
1.57k stars 160 forks source link

Build MetaCall with Ruby #425

Closed ahmedihabb2 closed 1 year ago

ahmedihabb2 commented 1 year ago

Description

Build Metacall with Ruby support for MacOS

Type of change

Checklist:

Note:

The following tests FAILED: 22 - metacall-duplicated-symbols-test (Timeout) 25 - metacall-distributable-test (Timeout) 57 - metacall-ruby-parser-integration-test (Timeout)

Check full logs 7_Build.txt

Check related issue

viferga commented 1 year ago

@ahmedihabb2 I have solved the issue of the sanitizer and now we should have visibility respect to the errors.

Another thing is, the file "env.txt" has been renamed to "CMakeConfig.txt" (and it should go inside build folder). Try to use the same name for convention.

I am going to set this PR as draft meanwhile you implement it.

Another thing is, here: https://github.com/metacall/core/blob/b9e44608b934e2e33a5989833d8a137fa0163b4a/tools/metacall-environment.ps1#L46

The equivalent in MacOs is called: -DPython3_FIND_FRAMEWORK=NEVER

This will force to find the installation that you passed with Python3_ROOT_DIR, instead of using the one from the system.