Using Isthmus Tool

瀏覽次數:96 次
跳到第一則未讀訊息

Vibhatha Abeykoon

未讀,
2022年5月12日 凌晨3:40:282022/5/12
收件者:Substrait
Hello, 

I am using a very old version of `isthmus` from this PR: https://github.com/substrait-io/substrait/pull/120

Since the up-to-date work is here: https://github.com/substrait-io/substrait-java

I am curious whether this can be built on a Mac M1? I previously tried the old version on Ubuntu. In general is there a guideline on the version specifications, setup on Mac, Ubuntu? Or does it need to be documented?
 
Best, 
Vibhatha

Jeroen van Straten

未讀,
2022年5月19日 凌晨1:42:582022/5/19
收件者:Vibhatha Abeykoon、Substrait
Hi,

No experience with Mac, but I would assume that it would work there just the same as on Linux. The command I've been using to build is "./gradlew nativeImage" in the root directory of substrait-java, which should generate a binary at isthmus/build/graal/isthmus.

AFAIK there is no documentation yet; it also took me a while to figure that command out. I'd write it, but I have never used gradle or graal beyond building and running Isthmus, and haven't written Java in over a decade. Probably better if someone who knows what they're doing does it :)

Regards,
Jeroen

PS: gmail threw this in my spam folder! You'd think using a Google-based mailinglist wouldn't cause a Google-based inbox to mark a legitimate email as spam, but here we are.

--
You received this message because you are subscribed to the Google Groups "Substrait" group.
To unsubscribe from this group and stop receiving emails from it, send an email to substrait+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/substrait/2572b733-37f3-47ef-9a74-54cc4d3adf16n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vibhatha Abeykoon

未讀,
2022年5月19日 凌晨1:43:032022/5/19
收件者:Jeroen van Straten、Substrait
Hello Jeroen, 

Thanks for the detailed explanation. Since I couldn't find more from the dev docs, I was also looking into the CIs[1] to figure it out. But I saw the CI supports Ubuntu and Mac [2], but is this supported on Mac M1? Though, I will give it a try. But if someone already has a guideline (personal use), it would be a great help if it can be documented.

Previously, in the older repo, somehow I just naively got it built as gradle build docs says and it worked fine. Beyond that, my knowledge is very limited on Gradle usage.

Appreciate your insight!


Best, 
Vibhatha

回覆所有人
回覆作者
轉寄
0 則新訊息