-
Notifications
You must be signed in to change notification settings - Fork 9
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
foliage build
fail on macOS (aarch64-darwin
)
#47
Comments
@yvan-sraka Thanks for reporting this! and apologies if this doesn't work (yet!) on macOS. The options
If it does, then I have a problem with shake. I already ran into issues calling If it doesn't, then we need to have a way to do the same thing in a portable way, e.g. rewriting it in Haskell. |
Thanks! I tested it again on my macOS M1 machine, and it seems to works as expected:
|
So, I tried to follow the getting started example …
Let's then add
aarch64-darwin
to the list …Then it fails because Linux and macOS
cp
options differs …I tried my best to fix it (
cp -T
option doesn't seem to exist on macOS) …And then
Shake
complains it can't find_cache/typed-protocols/0.1.0.0/typed-protocols.cabal
…Searching through the Shake codebase doesn't seem really helpful https://github.com/ndmitchell/shake/blob/v0.19.7/src/Development/Shake/Internal/Rules/File.hs#L179 … Maybe the error is more in https://github.com/andreabedini/foliage/blob/main/app/Foliage/CmdBuild.hs#L45 or https://github.com/andreabedini/foliage/blob/main/app/Foliage/Shake.hs#L38, do you have any pointers on how to go further from here? 🙂
The text was updated successfully, but these errors were encountered: