Skip to content
Snippets Groups Projects
  1. Jan 26, 2022
  2. Jan 13, 2022
  3. Jan 12, 2022
  4. Jan 10, 2022
  5. Jan 02, 2022
    • Tomáš Pecka's avatar
      apkg: build packages for fedora 34,35,36 · 9373be68
      Tomáš Pecka authored and Tomáš Pecka's avatar Tomáš Pecka committed
      9373be68
    • Tomáš Pecka's avatar
      apkg: build opensuse/{leap,tumbleweed} packages · 9347990c
      Tomáš Pecka authored and Tomáš Pecka's avatar Tomáš Pecka committed
      Also, I think that opensuse packagers are strange. Why the hell are
      there gcc-c++ packages with default version of 7.5 in Leap 15.2 and
      15.4?
      So in order to build for different Leap versions I have to explicitly
      specify build requirement to gcc<version>-c++? Why can't it be a single
      package with bumped versions?
      9347990c
    • Tomáš Pecka's avatar
      ci: standard builds and tests back on altbuilder · e21affa5
      Tomáš Pecka authored and Tomáš Pecka's avatar Tomáš Pecka committed
      e21affa5
    • Tomáš Pecka's avatar
      cmake: Link alib2cli with CMAKE_DL_LIBS · 30422956
      Tomáš Pecka authored and Tomáš Pecka's avatar Tomáš Pecka committed
      OpenSuse Leap package builds fail with undefined reference to dlclose
      and dlopen. The -ldl link flag is missing (see the error below).
      Let's fix that by adding the ${CMAKE_DL_LIBS} link target [1] to
      alib2cli.
      
       /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/alib2cli.dir/src/common/LibraryLoader.cpp.o: in function `cli::LibraryLoader::Library::unload()':
       /build/pkg/build/pkgs/opensuse-leap-15.3/algorithms-library-snapshot-0.0.0.r1277.gf2a2ccf62-1/rpmbuild/BUILD/algorithms-library-v0.0.0.r1277.gf2a2ccf62/alib2cli/src/common/LibraryLoader.h:44: undefined reference to `dlclose'
       /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /build/pkg/build/pkgs/opensuse-leap-15.3/algorithms-library-snapshot-0.0.0.r1277.gf2a2ccf62-1/rpmbuild/BUILD/algorithms-library-v0.0.0.r1277.gf2a2ccf62/alib2cli/src/common/LibraryLoader.h:44: undefined reference to `dlclose'
       /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/alib2cli.dir/src/common/LibraryLoader.cpp.o: in function `cli::LibraryLoader::Library::load()':
       /build/pkg/build/pkgs/opensuse-leap-15.3/algorithms-library-snapshot-0.0.0.r1277.gf2a2ccf62-1/rpmbuild/BUILD/algorithms-library-v0.0.0.r1277.gf2a2ccf62/alib2cli/src/common/LibraryLoader.h:37: undefined reference to `dlopen'
       /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /build/pkg/build/pkgs/opensuse-leap-15.3/algorithms-library-snapshot-0.0.0.r1277.gf2a2ccf62-1/rpmbuild/BUILD/algorithms-library-v0.0.0.r1277.gf2a2ccf62/alib2cli/src/common/LibraryLoader.h:39: undefined reference to `dlerror'
       collect2: error: ld returned 1 exit status
       make[2]: *** [alib2cli/CMakeFiles/alib2cli.dir/build.make:500: alib2cli/libalib2cli.so.0.0.0] Error 1
       make[1]: *** [CMakeFiles/Makefile2:1017: alib2cli/CMakeFiles/alib2cli.dir/all] Error 2
       make[1]: *** Waiting for unfinished jobs....
       make: *** [Makefile:150: all] Error 2
      
      [1] https://cmake.org/cmake/help/latest/variable/CMAKE_DL_LIBS.html
      30422956
    • Tomáš Pecka's avatar
      cmake: disable RPATH by default · 9fe1cfbf
      Tomáš Pecka authored and Tomáš Pecka's avatar Tomáš Pecka committed
      I don't think we should add RPATH information into our binaries. The
      dynamic libraries are installed into correct folders so let the OS find
      them.
      Some distributions also do not like setting RPATHs [1].
      
      [1] https://en.opensuse.org/openSUSE:Packaging_checks#Beware_of_Rpath
      9fe1cfbf
    • Tomáš Pecka's avatar
      ci: run packaging only on merges and master · bea94748
      Tomáš Pecka authored and Tomáš Pecka's avatar Tomáš Pecka committed
      This would have been simpler with rules in gitlab 12, but we don't have
      it yet.
      bea94748
    • Tomáš Pecka's avatar
      ci: Merge all built packages to one artifact · 3af42812
      Tomáš Pecka authored and Tomáš Pecka's avatar Tomáš Pecka committed
      3af42812
    • Tomáš Pecka's avatar
      ci: default image is now alpine:3.15 · 204d7514
      Tomáš Pecka authored and Tomáš Pecka's avatar Tomáš Pecka committed
      204d7514
    • Tomáš Pecka's avatar
      ci: remove (commented out) alpine linux builds · 95f5f867
      Tomáš Pecka authored and Tomáš Pecka's avatar Tomáš Pecka committed
      95f5f867
Loading