Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

remove build-time dependency on llvm.org #1828

Closed

Description

@jfirebaugh

This host has poor reliability, and when it goes down our builds fail.

Activity

  1. 1ec5 commented on Jul 2, 2015

    @1ec5
    Contributor

    Can we at least make use of Travis’ cache: option?

  2. jfirebaugh commented on Jul 2, 2015

    @jfirebaugh
    ContributorAuthor

    @springmeyer Do you know where in the build process the following is coming from:

    $ curl -sSL "http://llvm.org/apt/llvm-snapshot.gpg.key" | sudo -E apt-key add -
    curl: (56) Recv failure: Connection reset by peer
    gpg: no valid OpenPGP data found.
    
  3. springmeyer commented on Jul 3, 2015

    @springmeyer
    Contributor

    @jfirebaugh - I think it is coming from the whitelisted apt package we use for upgrading clang++:

    sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5' ]

    Can we at least make use of Travis’ cache: option?

    @1ec5 - good idea. But I went to read about this and see: Note that APT caching is not available for the container-based infrastructure. at http://docs.travis-ci.com/user/caching/

  4. ljbade commented on Jul 29, 2015

    @ljbade
    Contributor

    Just hit this too.

    Why o why Travis

  5. mikemorris commented on Sep 24, 2015

    @mikemorris
    Contributor

    👍, got tripped up on this trying to get #2391 merged yesterday

  6. ljbade commented on Oct 9, 2015

    @ljbade
    Contributor

    @1ec5 You sure it doesn't work on containers? @daniel-j-h post seems to say it does?

  7. 1ec5 commented on Oct 9, 2015

    @1ec5
    Contributor

    Based on the documentation, apt caching is unavailable to us, and it's an apt package that depends on llvm.org availability. Directory-based caching may work, but it doesn't look like it'll solve this particular problem.

  8. ljbade commented on Oct 9, 2015

    @ljbade
    Contributor

    @1ec5 I see now directory caching != apt caching

  9. daniel-j-h commented on Oct 10, 2015

    @daniel-j-h

    You could set up a local mirror or make a snapshot of the packages (e.g. check out aptly), and cache its directory. Not sure if worth the effort. You also have to think about cache invalidation.

  10. jfirebaugh commented on Mar 23, 2016

    @jfirebaugh
    ContributorAuthor

    There doesn't seem to be any reasonable way to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions