Giter Club home page Giter Club logo

bazelisp's Introduction

qitab

Collection of small Common Lisp libraries

These libraries contain code originally extracted from ITA's runtime system, QUUX.

bazelisp's People

Contributors

andrzejwalczak avatar common-lisp-dev-copybara avatar cushon avatar fare avatar gonzojive avatar hlopko avatar jdarrieulat avatar kchodorow avatar kotlaja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bazelisp's Issues

Use of bazelisp: google vs. non-google project

Hi Devs,

First of all, I have never used bazelisp.

Second, I am trying to use this tool to build a large CL/SBCL and would want to speed things up. I am reading through the README to understand the tool. I have a few questions:

  1. Can bazelisp be used for outside projects and not just google projects
  2. Coming from using quicklisp/ASDF, are there differences with bazelisp. Is there a simple test/tutorial that shows how one may structure things to use bazelisp given that most CL developers seem to use the quicklisp/ASDF.
  3. My interest is in speeding up build times so I am looking into bazelisp for testing, in addition to trying to updated Fare's POIU (in ASDF) to work with recent SBCL versions, i.e., get it to do parallel builds.

Thanks

Typo in README

In the first sentence, should "toolchin" be "toolchain"

/usr/bin/ld.gold: error: libsbcl.a(x86-64-assem.o): requires unsupported dynamic reloc 11; recompile with -fPIC

I wasn't able to compile a hello world example. See the following error:

$ bazel build //:hello                                                                                                                                                                                                                                                   
Loading:                                                                                                                                                                                                                                                                             
Loading: 0 packages loaded                                                                                                                                                                                                                                                           
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
Analyzing: target //:hello (9 packages loaded)                                                                                                                                                                                                                                       
INFO: Analysed target //:hello (12 packages loaded).                                                                                                                                                                                                                                 
INFO: Found 1 target...                                                                                                                                                                                                                                                              
[2 / 4] BazelWorkspaceStatusAction stable-status.txt                                                                                                                                                                                                                                 
[61 / 89] Executing genrule @lisp__sbcl//:make-sbcl [for host]; 10s linux-sandbox ... (2 actions running)                                                                                                                                                                            
[61 / 89] Executing genrule @lisp__sbcl//:make-sbcl [for host]; 31s linux-sandbox ... (2 actions running)                                                                                                                                                                            
[61 / 89] Executing genrule @lisp__sbcl//:make-sbcl [for host]; 57s linux-sandbox ... (2 actions running)                                                                                                                                                                            
[61 / 89] Executing genrule @lisp__sbcl//:make-sbcl [for host]; 90s linux-sandbox ... (2 actions running)                                                                                                                                                                            
[61 / 89] Executing genrule @lisp__sbcl//:make-sbcl [for host]; 134s linux-sandbox ... (2 actions running)                                                                                                                                                                           
[61 / 89] Executing genrule @lisp__sbcl//:make-sbcl [for host]; 191s linux-sandbox ... (2 actions running)                                                                                                                                                                           
[61 / 89] Executing genrule @lisp__sbcl//:make-sbcl [for host]; 228s linux-sandbox ... (2 actions running)                                                                                                                                                                           
[61 / 89] Executing genrule @lisp__sbcl//:make-sbcl [for host]; 280s linux-sandbox ... (2 actions running)                                                                                                                                                                           
ERROR: /home/red/git/lispb/BUILD.bazel:5:1: Linking of rule '//:hello.rt' failed (Exit 1)                                                                                                                                                                                            
**/usr/bin/ld.gold: error: bazel-out/local-fastbuild/genfiles/external/lisp__sbcl/lib/sbcl/libsbcl.a(x86-64-assem.o): requires unsupported dynamic reloc 11; recompile with -fPIC**                                                                                                      
bazel-out/local-fastbuild/bin/_objs/hello.rt/hello.extern.pic.o(rodata+0x35c): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'                                                                                                                          
collect2: error: ld returned 1 exit status                                                                                                                                                                                                                                           
Target //:hello failed to build                                                                                                                                                                                                                                                      
Use --verbose_failures to see the command lines of failed build steps.                                                                                                                                                                                                               
INFO: Elapsed time: 347.880s, Critical Path: 292.50s                                                                                                                                                                                                                                 
FAILED: Build did NOT complete successfully

Using bazelisp requires copying of BUILD.sbcl and BUILD.local_sbcl to project root

When used as a local repository at least. Example WORKSPACE:

local_repository(
    name = "bazelisp",
    path = "/home/egao1980/projects/bazelisp"
)

load("@bazelisp//:repositories.bzl", "bazelisp_repositories")
bazelisp_repositories()
load("@bazelisp//:setup.bzl", "bazelisp_setup")
bazelisp_setup()

I think that's mostly a documentation issue though it would be nice to avoid copying those files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.