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

Metal shader compilers (command line binaries) support? #326

Closed
oscarbg opened this issue Jul 30, 2017 · 7 comments
Closed

Metal shader compilers (command line binaries) support? #326

oscarbg opened this issue Jul 30, 2017 · 7 comments
Labels
Question Ask the Darling Project something

Comments

@oscarbg
Copy link

oscarbg commented Jul 30, 2017

Hi,
I want to build iOS from Linux..
http://www.pmbaty.com/iosbuildenv/
this guy provides a build enviroment for Windows and on petition also for Linux and seems working..
sad it is that Metal shader compilers aren't open sourced so can't recompile this part of the build stack..
I wanted to know if metal compiler tolos (found inside Xcode.app iphoneos.sdk/usr/bin) like:
metal -std=osx-metal1.1 -o shaders.air shaders.metal
metal-ar r shaders.metal-ar shaders.air
metallib -o shaders.metallib shaders.metal-ar
are expected to run via Darling before building Darling stack..
there aren't any current Ubuntu repo to try?
thanks..

@ahyattdev
Copy link
Member

We haven't tested the Metal toolchain yet, but clang works fine.

There are currently no binary disributions of Darling.

@oscarbg
Copy link
Author

oscarbg commented Jul 31, 2017

thanks good to know..

so that makes probably metal compiler to work..

other question: is Darling compatible with Windows subsystem Linux for using it in Windows also?
if not can request enhancements to Microsoft WSL devs for implementating need features for allowing Darling to run on it?
thanks..

@vlad-ivanov-name
Copy link

See #260

@LubosD
Copy link
Member

LubosD commented Jul 31, 2017

metal seems to run. I didn't test it with any real input, but the binary doesn't depend on any dependencies we don't have. And it looks like yet another frontend to LLVM.

As @resetnow has commented, Darling cannot run under WSL, because WSL doesn't have a real Linux kernel.

@oscarbg
Copy link
Author

oscarbg commented Jul 31, 2017

very nice!!

@ahyattdev ahyattdev added the Question Ask the Darling Project something label Aug 8, 2017
@ahyattdev
Copy link
Member

#328, #329, or #330 need to be fixed before this issue can be addressed.

@ahyattdev
Copy link
Member

I tested all 3 of the tools you mentioned using this example source and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask the Darling Project something
Projects
None yet
Development

No branches or pull requests

4 participants