Giter Club home page Giter Club logo

gap-container's People

Contributors

alex-konovalov avatar fingolfin avatar sebasguts avatar snim2 avatar zachnewbery avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gap-container's Issues

Avoid && on Dockerfile?

The Dockerfile has

RUN sudo apt-get update -qq \
    && sudo apt-get -qq install -y build-essential m4 libreadline6-dev libncurses5-dev wget unzip libgmp3-dev cmake \
    && adduser --quiet --shell /bin/bash --gecos "GAP user,101,," --disabled-password gap \
...

I believe that replace it with

RUN sudo apt-get update -qq
RUN sudo apt-get -qq install -y build-essential m4 libreadline6-dev libncurses5-dev wget unzip libgmp3-dev cmake
RUN adduser --quiet --shell /bin/bash --gecos "GAP user,101,," --disabled-password gap \
...

is the Docker way because

  1. Docker will stop the building if any line fail to execute properly, i.e. the return code is 0, and
  2. Docker create a "layer" for each line and the first line that you change is used as start point for new rebuilds.

Upgrade C compiler

groupoids package by @cdwensley currently crashes in the master branch if Semigroups package is loaded: see for example https://travis-ci.org/gap-system/gap-docker-pkg-tests-master/jobs/333933165 :

terminate called after throwing an instance of 'std::system_error'
  what():  Enable multithreading to use std::thread: Operation not permitted

Indeed, the version of gcc there is 4.8.4 and @james-d-mitchell confirms that it is not compatible with Semigroups (although I haven't been able to find in Semigroups documentation what is the minimal compatible version then).

It will be useful to upgrade the compiler to some modern version - that will not only help to groupoids tests, but to other tests involving Semigroups, and to users who would like to use Semigroups in the Docker container.

README outdated

What is "work in progress" has been achieved and thrives...

Create a base layer containing the OS and external software

Would it be a good idea to create an image called gap_base or something containing the Ubuntu-packages needed for GAP and software like polymake, 4ti2, and Singular, maybe also M2, which are requested by some GAP packages. Building an GAP-image on top of such an image would make it easier to update the GAP image. The gap_base would then only be updated if newer versions are needed.

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.