Commit 60458544 authored by sagnowski's avatar sagnowski
Browse files

Fix building reference without sanitizer

parent 65c81e05
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -379,12 +379,14 @@ renderer-5ms-framing-asan:
    # Build reference executable - 5ms framing disabled
    - cp lib_com/options.h lib_com/options.h.bak
    - sed -i '/API_5MS/d' lib_com/options.h 
    - mkdir cmake-build && cmake -B cmake-build . && cmake --build cmake-build -- -j
    - cp cmake-build/IVAS_rend IVAS_rend_ref
    - cmake -B cmake-build-ref .
    - cmake --build cmake-build-ref -- -j
    - cp cmake-build-ref/IVAS_rend IVAS_rend_ref

    # Build test executable
    - mv -f lib_com/options.h.bak lib_com/options.h
    - cmake -B cmake-build -DCLANG=asan . && cmake --build cmake-build -- -j
    - cmake -B cmake-build -DCLANG=asan .
    - cmake --build cmake-build -- -j
    - cp cmake-build/IVAS_rend .

    # Run Razel test
@@ -400,12 +402,14 @@ renderer-5ms-framing-msan:
    # Build reference executable - 5ms framing disabled
    - cp lib_com/options.h lib_com/options.h.bak
    - sed -i '/API_5MS/d' lib_com/options.h 
    - mkdir cmake-build && cmake -B cmake-build . && cmake --build cmake-build -- -j
    - cp cmake-build/IVAS_rend IVAS_rend_ref
    - cmake -B cmake-build-ref .
    - cmake --build cmake-build-ref -- -j
    - cp cmake-build-ref/IVAS_rend IVAS_rend_ref

    # Build test executable
    - mv -f lib_com/options.h.bak lib_com/options.h
    - cmake -B cmake-build -DCLANG=msan . && cmake --build cmake-build -- -j
    - cmake -B cmake-build -DCLANG=msan .
    - cmake --build cmake-build -- -j
    - cp cmake-build/IVAS_rend .

    # Run Razel test