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

Allow --purs-args to be passed to 'purs bundle' #580

Closed
felixSchl opened this issue Feb 25, 2020 · 1 comment
Closed

Allow --purs-args to be passed to 'purs bundle' #580

felixSchl opened this issue Feb 25, 2020 · 1 comment

Comments

@felixSchl
Copy link

For spago bundle-app and spago bundle-module it is currently impossible to pass arguments straight down to purs. We're running into extremely long build times on Circle CI due to PureScript detects more cores than are actually available. We get around that by setting --purs-args='+RTS -N2 -RTS'. However, this only works for spago build, not for the bundle commands (

bundleAction = Purs.bundle withMain (withSourceMap buildOpts) moduleName targetPath
). To highlight the severity of the issue, for our project bundeling without those flags takes somewhere between 17 and 20 minutes, whereas with the flag set it only takes about 45 seconds. We are temporarily falling back to just invoking purs directly for bundling.

@f-f
Copy link
Member

f-f commented Mar 29, 2020

I just realized this is a duplicate of #216, I'll close this one as that has more info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants