Nantes Université

Skip to content
Extraits de code Groupes Projets
  1. mai 15, 2020
  2. mai 04, 2020
  3. sept. 06, 2019
  4. juil. 18, 2019
  5. nov. 23, 2018
  6. sept. 27, 2018
  7. sept. 18, 2018
  8. sept. 17, 2018
  9. sept. 15, 2018
  10. sept. 14, 2018
  11. sept. 12, 2018
  12. avr. 25, 2018
  13. avr. 23, 2018
  14. mars 27, 2018
  15. nov. 27, 2017
  16. nov. 26, 2017
  17. nov. 10, 2017
    • Cleber Rosa's avatar
      GNU/Linux build improvements (#20) · a15737b6
      Cleber Rosa a rédigé
      
      * Makefile: add clean target
      
      While working on pict, it's useful to get a clean state.  This clean
      target removes the target binary and output generated by a self test
      execution (make test).
      
      Signed-off-by: default avatarCleber Rosa <crosa@redhat.com>
      
      * Makefile: allow parallelization of build
      
      The current rule for building pict is based on a single command
      execution, which makes faster builds leveraging parallel execution
      impossible.
      
      This change introduces the objects that are required to build pict,
      and relies on implicit rules to turn the ".cpp" files into the object
      files.
      
      After these changes, a command such as "make -j8" shows the benefits
      of this change.
      
      Signed-off-by: default avatarCleber Rosa <crosa@redhat.com>
      
      * api/pictapi.h: use default calling convention when using gcc
      
      gcc doesn't understand the __stdcall calling convention.  Let's
      use its default when using it as a compiler.
      
      Signed-off-by: default avatarCleber Rosa <crosa@redhat.com>
      
      * Makefile: relax a bit more the compiler options
      
      I reckon that pict should be compiled with all warnings enabled,
      and all warnings being treated as errors.  This is actually the goal
      of other changes to be proposed soon.
      
      For now, some code, such as naming attributes with the same name as
      previously declared types is not really welcomed by some compilers
      such as GCC, being considered "nonconformant code".
      
      Since changes to fix this would bring changes to the pict API, let's
      keep things simple and simply allow the unchanged code to build on
      other compilers such as GCC.
      
      Signed-off-by: default avatarCleber Rosa <crosa@redhat.com>
      
      * Makefile: use default compiler set on system
      
      Users can choose selected compiler by setting the "CXX" environment
      variable or by editting the Makefile.
      
      Let's not hardcode a particular compiler, now that both clang and gcc
      can be used to compile pict.
      
      Signed-off-by: default avatarCleber Rosa <crosa@redhat.com>
      
      * Makefile: make test depend on target being built
      
      Signed-off-by: default avatarCleber Rosa <crosa@redhat.com>
      
      * Makefile: add source target
      
      It's useful to generate a snapshot of the current state of the GIT
      repo.  Let's add a target that generates a tarball using git-archive
      using a naming convention that makes it easy to trace to the commit
      that generated this snapshot.
      
      This format also happens to be well suitable for using the source
      tarball when packaging it in RPM format.
      
      Signed-off-by: default avatarCleber Rosa <crosa@redhat.com>
      a15737b6
  18. avr. 10, 2017
  19. jan. 27, 2017
  20. déc. 15, 2016
  21. nov. 25, 2016
  22. nov. 06, 2016
  23. nov. 04, 2016
Chargement en cours