Giter VIP home page Giter VIP logo

arowpp's People

Contributors

tetsuok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

arowpp's Issues

ERROR: WORKSPACE:18:1: name 'new_http_archive' is not defined

Please provide more guidance on how to build this software now that you have switched to bazel, a build system nobody else knows how to use.

Your current instructions say:

$ git clone https://github.com/tetsuok/arowpp.git
$ cd arowpp
$ bazel build //:arow_learn //:arow_test

That doesn't work for me:

$ cd ~/sw
$ git clone https://github.com/tetsuok/arowpp.git
Cloning into 'arowpp'...
remote: Enumerating objects: 349, done.
remote: Total 349 (delta 0), reused 0 (delta 0), pack-reused 349
Receiving objects: 100% (349/349), 567.39 KiB | 2.31 MiB/s, done.
Resolving deltas: 100% (237/237), done.
$ cd arowpp
$ bazel build //:arow_learn //:arow_test
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
ERROR: /Users/rschmidt/sw/arowpp/WORKSPACE:18:1: name 'new_http_archive' is not defined
ERROR: error loading package '': Encountered error while reading extension file 'tools/build_defs/repo/http.bzl': no such package '@bazel_tools//tools/build_defs/repo': error loading package 'external': Could not load //external package
INFO: Elapsed time: 4.388s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

My system information:

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G14033
$ bazel version
Build label: 3.7.1- (@non-git)
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Wed Nov 25 12:04:37 2020 (1606305877)
Build timestamp: 1606305877
Build timestamp as int: 1606305877

Outdated autotools reference in readme

The readme says:

Note: As it turns out, we decided to use Autotools instead of using waf since the release of 0.1. The resulting package doesn't depend on python anymore.

It seems like that whole line could be removed, since you also don't use autotools anymore.

No dynamic library is created

0.1.2 built and installed both static and dynamic libraries, and the programs arow_test and arow_learn were linked with the dynamic library.

In 0.1.3, only a static library is produced, and the programs presumably link with that static library, since the 0.1.3 programs are much larger than their 0.1.2 counterparts.

These observations are from macOS 10.13.6.

How to install?

Now that the build system is bazel, how can the software be installed?

The old autotools instructions with arowpp 0.1.2 said:

$ git clone https://github.com/tetsuok/arowpp.git
$ cd arowpp
$ ./configure [--enable-gtest]
$ make
$ make check # This is optional. See the note below.
$ make install

Note the make install step which (typically with sudo) installs the software.

The new bazel build instructions with arowpp 0.1.3 say:

$ git clone https://github.com/tetsuok/arowpp.git
$ cd arowpp
$ bazel build //:arow_learn //:arow_test

That builds, but how to install?

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.