Upgrading vendor folder dependencies.

This commit is contained in:
Renan DelValle 2018-12-27 09:58:53 -08:00
parent 4a0cbcd770
commit acbe9ad9e5
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
229 changed files with 10735 additions and 4528 deletions

View file

@ -15,19 +15,30 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
setup-local-lisp-env: ensure-externals.sh
bash ensure-externals.sh
gen-cl: $(top_srcdir)/tutorial/tutorial.thrift
$(THRIFT) --gen cl -r $<
TutorialServer: make-tutorial-server.lisp
ALL_FILE_PREREQS = \
load-locally.lisp \
make-tutorial-server.lisp \
make-tutorial-client.lisp \
shared-implementation.lisp \
thrift-tutorial.asd \
tutorial-implementation.lisp
# NOTE: the server and client cannot be built in parallel
# because on loading the make-tutorial-* scripts SBCL will
# attempt to compile their dependencies. Unfortunately,
# because their dependencies are shared, parallel jobs can
# end up overwriting or corrupting the compiled files
all-local: gen-cl setup-local-lisp-env $(ALL_FILE_PREREQS)
$(SBCL) --script make-tutorial-server.lisp
TutorialClient: make-tutorial-client.lisp
$(SBCL) --script make-tutorial-client.lisp
all-local: gen-cl TutorialClient TutorialServer
tutorialserver: all
./TutorialServer
@ -35,9 +46,16 @@ tutorialclient: all
./TutorialClient
clean-local:
$(RM) -r gen-*
$(RM) TutorialServer
$(RM) TutorialClient
-$(RM) -r gen-*
-$(RM) -r externals
-$(RM) -r quicklisp
-$(RM) -r lib
-$(RM) quicklisp.lisp
-$(RM) backport-update.zip
-$(RM) shared-implementation.fasl
-$(RM) tutorial-implementation.fasl
-$(RM) TutorialServer
-$(RM) TutorialClient
EXTRA_DIST = \
tutorial-implementation.lisp \

View file

@ -0,0 +1 @@
../../lib/cl/ensure-externals.sh

View file

@ -0,0 +1,22 @@
(in-package #:cl-user)
;;;; Licensed under the Apache License, Version 2.0 (the "License");
;;;; you may not use this file except in compliance with the License.
;;;; You may obtain a copy of the License at
;;;;
;;;; http://www.apache.org/licenses/LICENSE-2.0
;;;;
;;;; Unless required by applicable law or agreed to in writing, software
;;;; distributed under the License is distributed on an "AS IS" BASIS,
;;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;;;; See the License for the specific language governing permissions and
;;;; limitations under the License.
;;;; Just a script for loading the library itself, using bundled dependencies.
;;;; This is an identical copy of the file in lib/cl.
(require "asdf")
(load (merge-pathnames "externals/bundle.lisp" *load-truename*))
(asdf:load-asd (merge-pathnames "lib/de.setf.thrift-backport-update/thrift.asd" *load-truename*))
(asdf:load-system :thrift)

View file

@ -13,7 +13,7 @@
;;;; limitations under the License.
(require "asdf")
(load (merge-pathnames "../../lib/cl/load-locally.lisp" *load-truename*))
(load (merge-pathnames "load-locally.lisp" *load-truename*))
(asdf:load-system :net.didierverna.clon)
(asdf:load-asd (merge-pathnames "gen-cl/shared/thrift-gen-shared.asd" *load-truename*))
(asdf:load-asd (merge-pathnames "gen-cl/tutorial/thrift-gen-tutorial.asd" *load-truename*))

View file

@ -13,7 +13,7 @@
;;;; limitations under the License.
(require "asdf")
(load (merge-pathnames "../../lib/cl/load-locally.lisp" *load-truename*))
(load (merge-pathnames "load-locally.lisp" *load-truename*))
(asdf:load-system :net.didierverna.clon)
(asdf:load-asd (merge-pathnames "gen-cl/shared/thrift-gen-shared.asd" *load-truename*))
(asdf:load-asd (merge-pathnames "gen-cl/tutorial/thrift-gen-tutorial.asd" *load-truename*))