Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh CMakeLists.txt #2912

Draft
wants to merge 77 commits into
base: master
Choose a base branch
from
Draft

Commits on Feb 4, 2024

  1. WIP

    ich123 committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    d1d265b View commit details
    Browse the repository at this point in the history
  2. correct headers

    ich123 committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    8bb207d View commit details
    Browse the repository at this point in the history
  3. find neon

    ich123 committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    2e294d4 View commit details
    Browse the repository at this point in the history
  4. SIMD

    ich123 committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    60254ff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    462e182 View commit details
    Browse the repository at this point in the history
  6. SIMD

    ich123 committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    30cd3df View commit details
    Browse the repository at this point in the history
  7. install targets. This is a copy paste from old script. I don't know i…

    …f there is a more modern way of doing this.
    ich123 committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    8584073 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. - build python in main CMakeLists.txt file

    - fix some weird thing in pybind11 CMakeLists.txt file
    - update setup.py script
    ich123 committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    394d91e View commit details
    Browse the repository at this point in the history
  2. disable LTO on python module

    ich123 committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    95b9210 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. wip

    ich123 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    6d73a19 View commit details
    Browse the repository at this point in the history
  2. - build unit test in normal CMakeLists.txt file

    - fixing actions
    ich123 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    ae5380e View commit details
    Browse the repository at this point in the history
  3. wip

    ich123 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    6ff13c0 View commit details
    Browse the repository at this point in the history
  4. wip

    ich123 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    8ec8b1c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    02f35a0 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. use pkg-config

    Your Name committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    2d1fad2 View commit details
    Browse the repository at this point in the history
  2. window runner. don't know why ${{ github.workspace }}/dlib doesn't wo…

    …rk but oh well
    Your Name committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    f59af43 View commit details
    Browse the repository at this point in the history
  3. missing blas fortran code

    pfeatherstone committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    2bf1bad View commit details
    Browse the repository at this point in the history
  4. missing blas

    pfeatherstone committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    e65ed6b View commit details
    Browse the repository at this point in the history
  5. mssing blas

    pfeatherstone committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    404b5c4 View commit details
    Browse the repository at this point in the history
  6. missing blas

    pfeatherstone committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    4cba233 View commit details
    Browse the repository at this point in the history
  7. deprecated

    pfeatherstone committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    284fcbc View commit details
    Browse the repository at this point in the history
  8. make it use our own blas

    pfeatherstone committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    cb9c9b3 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. replace DLIB_CASSERT with normal throw statement. otherwise, the 2nd …

    …time you hit this, the program will abort
    Your Name committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    56b9fe8 View commit details
    Browse the repository at this point in the history
  2. - check there is a fortran compiler before trying to enable it. Fixes…

    … an issue on windows build
    
    - only enable BLAS if either a valid BLAS library is found or fortran is enabled
    - correctly set DLIB_DISABLE_ASSERTS
    Your Name committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    9909cbd View commit details
    Browse the repository at this point in the history
  3. don't strip on windows.

    Your Name committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    ccf1356 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2031e45 View commit details
    Browse the repository at this point in the history
  5. use DLIB_NO_ABORT_ON_2ND_FATAL_ERROR

    Your Name committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    7cfcfee View commit details
    Browse the repository at this point in the history
  6. build examples

    pfeatherstone committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    2c22d8e View commit details
    Browse the repository at this point in the history
  7. build examples in CI/CD

    pfeatherstone committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    bddb28e View commit details
    Browse the repository at this point in the history
  8. imaglab

    pfeatherstone committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    d5427e9 View commit details
    Browse the repository at this point in the history
  9. htmlify

    pfeatherstone committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    6dcaef6 View commit details
    Browse the repository at this point in the history
  10. dtoc

    pfeatherstone committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    cde3f07 View commit details
    Browse the repository at this point in the history
  11. build tools

    pfeatherstone committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    a41836f View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. - build specific architecture. "native" isn't supported until cmake 3.24

    - re-enable dnn.cpp in unit tests. I had originally disabled it since dlib's DNN module takes approximately the age of the universe to build.
    - imglab requires GUI stuff
    Your Name committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    5f9066f View commit details
    Browse the repository at this point in the history
  2. increase template depth on old clang and windows. use generator expre…

    …ssions
    Your Name committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    66bd706 View commit details
    Browse the repository at this point in the history
  3. - cmake generator expression helpers

    - only link to x11 if not WIN32
    - enable GUI support by default on WIN32
    Your Name committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    3629aeb View commit details
    Browse the repository at this point in the history
  4. more blas. never ending blas

    Your Name committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    071f6b0 View commit details
    Browse the repository at this point in the history
  5. - GLOBAL IMPORTED target

    - forgot to put MKL back in
    pfeatherstone committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    a124862 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2024

  1. matlab bindings

    pfeatherstone committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    da25f35 View commit details
    Browse the repository at this point in the history
  2. fix install

    pfeatherstone committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    aabf289 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. didn't need this after all.

    pfeatherstone committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    3291d76 View commit details
    Browse the repository at this point in the history
  2. matlab build fix? I think RPATH is broken on install

    pfeatherstone committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    610e187 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. WIP

    pfeatherstone committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    69970c3 View commit details
    Browse the repository at this point in the history
  2. WIP

    pfeatherstone committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    d50eb8c View commit details
    Browse the repository at this point in the history
  3. so, the fix was not to compile all/source.cpp into a static library a…

    …nd link to that, but link to main dlib library instead. It makes absolutely no sense
    pfeatherstone committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    dac3aae View commit details
    Browse the repository at this point in the history
  4. deprecated

    pfeatherstone committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    1c22cab View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. - split back into seperate CMakeLists.txt files

    pfeatherstone committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    323dbba View commit details
    Browse the repository at this point in the history
  2. oops

    pfeatherstone committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    e5e8316 View commit details
    Browse the repository at this point in the history
  3. oops

    pfeatherstone committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    e06f389 View commit details
    Browse the repository at this point in the history
  4. come on

    pfeatherstone committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    48a48be View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. come on, you can do it

    Your Name committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    405dfc0 View commit details
    Browse the repository at this point in the history
  2. - more message statements so you exactly what's enabled, not just wha…

    …t's found
    
    - enable CUDA if CUDNN is found as well, not just CUDA toolkit.
    - /bigobj is gated on whether MSVC is used, not whether or not you're on windows
    pfeatherstone committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    2fbe9d1 View commit details
    Browse the repository at this point in the history
  3. more hand holding

    pfeatherstone committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    8187393 View commit details
    Browse the repository at this point in the history
  4. deprecated

    pfeatherstone committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    9d05268 View commit details
    Browse the repository at this point in the history
  5. - compiler specific options

    - forgot to add DLIB_HAVE_SSE2
    pfeatherstone committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    2e20ca2 View commit details
    Browse the repository at this point in the history
  6. more hand holding. Gate stripping on MSVC not WIN32

    pfeatherstone committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    6d1a04f View commit details
    Browse the repository at this point in the history
  7. add test for MKL and FFMPEG

    pfeatherstone committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    f3745b5 View commit details
    Browse the repository at this point in the history
  8. Update build_cpp.yml

    pfeatherstone authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    83e8c65 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. - look for tbb. We might need that soon if the tbb symbols in libmkl_…

    …tbb_thread.so are weak
    
    - install MKL via official installer
    Your Name committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    09e0fec View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. need to find a way to fix RPATH

    pfeatherstone committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    161dbcc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b94c983 View commit details
    Browse the repository at this point in the history
  3. don't set avx, sse or neon flags with nvcc. that upsets old nvcc 11.0…

    … or older.
    pfeatherstone committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    e161f9a View commit details
    Browse the repository at this point in the history
  4. added GNU OMP threading layer. Made TBB layer the default.

    pfeatherstone committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    bfe8b49 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. - release build by default

    - Made DLIB_VERSION a public compile definition of dlib which propagates to python bindings and everything else. Everyone can know about the dlib version.
    - static runtime on visual studio
    - attempt to turn LTO off
    - some hand-holding comment
    pfeatherstone committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    b8c8c4f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca676a9 View commit details
    Browse the repository at this point in the history
  3. release_build_by_default smells fishy

    pfeatherstone committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    26640aa View commit details
    Browse the repository at this point in the history
  4. - added linking to ws2_32 winmm on windows with msvc. Is it required …

    …with mingw or cygwin?
    
    - added custom cmake module for gui stuff. on linux, look for x11, on windows look for gdi32, imm32 and comctl32. Do you need to link to those libraries explicitly on 64-bit windows?
    pfeatherstone committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    4def070 View commit details
    Browse the repository at this point in the history
  5. try this

    pfeatherstone committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    b46be21 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fa3e00d View commit details
    Browse the repository at this point in the history
  7. more messages when can't find packages

    wip windows GUI.
    pfeatherstone committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    00f8016 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. - QUIET for finding openmp

    - release by default
    - use CMAKE_BUILD_TYPE instead of --config when using make or ninja
    - use --config Release instead of CMAKE_BUILD_TYPE on windows
    Your Name committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    f7a2a83 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. - change the order of the SIMD compiler options. e.g. it's -mavx -mav…

    …x2 not -mavx2 -mavx
    
    - don't need set set the compile definitions explicitly. simd_check.h does it for you
    - modified the stats stuff ever so slightly. It's basically just style. But that seems to make auto-vectorization stuff a bit happier
    pfeatherstone committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    92e11fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8bf41d5 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. better

    pfeatherstone committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    9f1cae8 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. added runner which tests dlib installation

    pfeatherstone committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    617b9a8 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. make installation work

    pfeatherstone committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    ad66b68 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2024

  1. test dlib installation through pkg-config

    pfeatherstone committed Mar 3, 2024
    Configuration menu
    Copy the full SHA
    60a7461 View commit details
    Browse the repository at this point in the history