Skip to content
Snippets Groups Projects
  1. Sep 20, 2022
    • Tomáš Pecka's avatar
      cli: allow to quit on first exception · 6ae6e6b7
      Tomáš Pecka authored
      In long aql scripts sometimes we hit an exception early in the script
      and the rest of the script continues executing which makes the output
      really complicated as the errors keep chaining.
      
      This commit introduces a 'set exit_on_failure' command which (if true)
      stops the execution on first exception raised.
      
      This is similar to "set -e" command in bash which stops script
      execution on non-OK exit code.
      Unverified
      6ae6e6b7
  2. Apr 27, 2022
  3. Apr 25, 2022
  4. Apr 16, 2022
  5. Apr 13, 2022
  6. Mar 20, 2022
  7. Mar 06, 2022
  8. Feb 23, 2022
  9. Feb 22, 2022
  10. Feb 21, 2022
  11. Feb 13, 2022
  12. Feb 01, 2022
  13. Jan 26, 2022
  14. Jan 13, 2022
  15. Jan 10, 2022
  16. Jan 02, 2022
    • 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
  17. Dec 20, 2021
  18. Dec 03, 2021
  19. Nov 27, 2021
  20. Nov 26, 2021
  21. Nov 23, 2021
  22. Nov 21, 2021
  23. Nov 20, 2021
    • Tomáš Pecka's avatar
      abstraction: Use optional<string> instead of string for docs in registry · 2b471285
      Tomáš Pecka authored
      While working on webui, I have noticed that exports from
      automata-library contain for many algorithms documentation set to
      string "Documentation not available.". I traced the problem back to this
      project.
      
      I do not think "Documentation not available" is itself a valid
      documentation of an algorithm so I decided to replace the std::string
      that is supposed to hold documentation of an overload with an
      std::optional<std::string>. The semantics should now be clearer.
      Unverified
      2b471285
  24. Oct 15, 2021
Loading