You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Allen George <al...@gmail.com> on 2018/12/01 18:03:51 UTC

Why is load-locally.lisp required for the CL library?

I’m trying to fix the spurious build failures in the CL tutorial
build. I don’t know anything about CL, so I’m confused about a couple
of things:

1. What is load-locally.lisp?
2. What is ensure-externals.sh? (AFAICT it’s downloading the required
lisp libraries; can’t that be done during docker image setup or
something?)
3. Is there any downside to ensure-externals being executed in the
tutorial/cl directory? i.e. does it need to be in the lib/cl
directory?

Thanks

Re: Why is load-locally.lisp required for the CL library?

Posted by Allen George <al...@gmail.com>.
I think I puzzled through a lot of it, though it’s definitely unexpected.

From what I can tell, ensure-externals.sh:

1. Creates and sets up a quicklisp environment in "lib/cl"
2. Downloads all the dependencies for the CL thrift library into a
subdirectory called “externals”
3. Downloads the _actual thrift lib_ into another subdirectory called “lib”
(so, yup, the actual CL thrift lib isn’t in-tree)

And, load-locally.lisp:

1. Loads all the dependencies of the CL thrift lib from “externals”
2. Loads the CL thrift lib itself from “lib”

Allen


On December 1, 2018 at 21:57:09, James E. King III (jking@apache.org) wrote:
Recommended contacting the original authors for insight.

On Sat, Dec 1, 2018, 1:03 PM Allen George <allen.george@gmail.com wrote:

> I’m trying to fix the spurious build failures in the CL tutorial
> build. I don’t know anything about CL, so I’m confused about a couple
> of things:
>
> 1. What is load-locally.lisp?
> 2. What is ensure-externals.sh? (AFAICT it’s downloading the required
> lisp libraries; can’t that be done during docker image setup or
> something?)
> 3. Is there any downside to ensure-externals being executed in the
> tutorial/cl directory? i.e. does it need to be in the lib/cl
> directory?
>
> Thanks
>

Re: Why is load-locally.lisp required for the CL library?

Posted by "James E. King III" <jk...@apache.org>.
Recommended contacting the original authors for insight.

On Sat, Dec 1, 2018, 1:03 PM Allen George <allen.george@gmail.com wrote:

> I’m trying to fix the spurious build failures in the CL tutorial
> build. I don’t know anything about CL, so I’m confused about a couple
> of things:
>
> 1. What is load-locally.lisp?
> 2. What is ensure-externals.sh? (AFAICT it’s downloading the required
> lisp libraries; can’t that be done during docker image setup or
> something?)
> 3. Is there any downside to ensure-externals being executed in the
> tutorial/cl directory? i.e. does it need to be in the lib/cl
> directory?
>
> Thanks
>