alisaifee / asdf-thrift Goto Github PK
View Code? Open in Web Editor NEWthrift plugin for the asdf version manager.
License: MIT License
thrift plugin for the asdf version manager.
License: MIT License
Hi, the following happens on both M1 and Intel Macs:
❯ asdf install thrift 0.13.0
Downloading source.....
Configuring build....
Compiling with flags -j16....
/Users/foo/.asdf/installs/thrift/0.13.0/src/compiler/cpp/src/thrift/thrifty.yy:1.1-5: warning: POSIX Yacc does not support %code [-Wyacc]
1 | %code requires {
| ^~~~~
src/thrift/generate/t_java_generator.cc:5369:9: error: variable 'j' set but not used [-Werror,-Wunused-but-set-variable]
int j = 0;
^
1 error generated.
make[2]: *** [src/thrift/generate/thrift-t_java_generator.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
asdf-thrift: An error ocurred while installing thrift 0.13.0. See /var/folders/lf/dtnk7rp90rgc24_9pr6n8rkh0000gn/T//thrift-install-0.13.0.txt
Getting the same error for at least Thrift versions 0.13.0, 0.15.0, and 0.18.1 -- except that the line number for the unused variable is different.
Something like -Wno-unused-variable
could bypass this, but I couldn't find how to pass options to asdf build.
System:
MacOS Ventura 13.4.
❯ gcc --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
$ asdf install thrift latest
Downloading source.....
Configuring build....
Compiling with flags -j10....
make: *** No rule to make target `install'. Stop.
asdf-thrift: An error ocurred while installing thrift 0.16.0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.