thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberts, Geoffry [USA]" <Roberts_Geof...@bah.com>
Subject Adding a new language to Thrift
Date Thu, 29 Aug 2019 19:40:38 GMT
All,

I mistakenly posted this to the user list and am reposting here.

I am trying to add the Julia language to Thrift.  The basics were done by
someone else here<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_tanmaykm_Thrift.jl&d=DwIGaQ&c=f4NRRID3zFYDyClb0wZXwA&r=hc5v62HpZrcalgHOsVfthsgLhE5LrDVBm9xDs5ozH5U&m=5zHiJNWLnF71J69ssW3NRmSqFPSt-P1raFh4PACJBzQ&s=ID5kj4bZdUQQrJFqPafZLJxiSRJ2l5hKfdG8GfK0-Wg&e=
>. Follow the link it
states,  “Place Julia plugin
t_jl_generator.cc<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_tanmaykm_Thrift.jl_tree_master_compiler&d=DwIGaQ&c=f4NRRID3zFYDyClb0wZXwA&r=hc5v62HpZrcalgHOsVfthsgLhE5LrDVBm9xDs5ozH5U&m=5zHiJNWLnF71J69ssW3NRmSqFPSt-P1raFh4PACJBzQ&s=ayqZBpmzuBQbpZx5KQ_ALrI3H5JXkizGwZH9STBt6q4&e=
>
into compiler/cpp/src/generate folder. Update makefiles to include the new
source and rebuild.”  I have done that but my language is not getting built.

I am updating the.file:

thrift-0.12.0/compiler/cpp/Makefile.am

like this:

82 thrift_SOURCES += src/thrift/generate/t_c_glib_generator.cc \

<other languages>

src/thrift/generate/t_cl_generator.cc \
                 src/thrift/generate/t_jl_generator.cc    // Julia added
here.

I run ./configure and see among other things:

Building C (GLib) Library .... : no
Building C# (Mono) Library ... : no
Building C++ Library ......... : yes
Building Common Lisp Library.. : no
Building D Library ........... : no
Building Dart Library ........ : no
Building dotnetcore Library .. : no
Building Erlang Library ...... : no
Building Go Library .......... : yes
Building Haskell Library ..... : no
Building Haxe Library ........ : no
Building Java Library ........ : no
Building Lua Library ......... : no
Building NodeJS Library ...... : yes
Building Perl Library ........ : yes
Building PHP Library ......... : yes
Building Plugin Support ...... : no
Building Python Library ...... : yes
Building Py3 Library ......... : no
Building Ruby Library ........ : no
Building Rust Library ........ : no

Julia is not even listed much less being built.

Is there anything else I need to do?



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message