-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
'-d:lto' flag breaks macOS #51
Comments
Full control over the command line switches can be done with a switches.py file. However, the CLI args handling in Nimporter has always not been very ergonomic when trying to fiddle around with the Nim compiler. I purposely designed this library to not require the user to enter a single customization option because it needs to be seamless for Python developers, who are very not used to dealing with compiler switches. However, since users can use @SekouDiaoNlp Do you think you can look into either removing the |
@SekouDiaoNlp sorry to hear that, glad your doing better! |
@Pebaz ok, I will look into it during the next couple of days to come up with the most effective design. |
See discussion page : #54 |
… to NIM_CLI_ARGS.
I have to comment out the above line to achieve build on macOS.
It's here: https://github.com/Pebaz/nimporter/blob/master/nimporter.py#L130
The root seems to be nim-lang/Nim#15614
This issue is blocking juancarlospaco/faster-than-requests#156
Maybe needs something like:
But there's a bigger issue: These inbuilt flags can't be removed by the user's .cfg file.
This makes the library brittle.
Need some way to 'RESET' these internal defaults from the .cfg file, maybe? e.g.
REMOVE='-d:lto'
...The text was updated successfully, but these errors were encountered: