Commit d7c9a8cc authored by Jan Kiene's avatar Jan Kiene
Browse files

build reference branch with instrumentation

parent 1bedf9e1
Loading
Loading
Loading
Loading
+15 −5
Original line number Diff line number Diff line
@@ -113,7 +113,14 @@ stages:
  - git checkout $REFERENCE_BRANCH
  - git pull
  - make clean
  # modification for measuring ivas-float-update branch
  - if [ "$CI_JOB_NAME" =~ "complexity"]; then
  -   bash scripts/prepare_instrumentation.sh -p FLOAT -m FULL
  -   make -j -C $INSTR_DIR
  -   cp $INSTR_DIR/IVAS* ./
  - else
  -   make -j
  - fi
  - mv ./IVAS_cod ./$REF_ENCODER_PATH
  - mv ./IVAS_dec ./$REF_DECODER_PATH
  - mv ./IVAS_rend ./IVAS_rend_ref
@@ -976,11 +983,14 @@ ivas-pytest-renderer:
  # hack for using the reference encoder -> need to build manually to make script use ref enc and BASOP dec
  - mkdir COMPLEXITY
  - cp IVAS_cod_ref COMPLEXITY/IVAS_cod
  # modification for measuring ivas-float-update: copy both pre-built instrumented binaries
  - cp IVAS_dec_ref COMPLEXITY/IVAS_dec
  # build branch code aain with instrumentation
  - make clean
  - bash scripts/prepare_instrumentation.sh -p BASOP -m MEM_ONLY
  - make -j -C $INSTR_DIR
  - cp $INSTR_DIR/IVAS_dec COMPLEXITY/IVAS_dec
  # - make clean
  # - bash scripts/prepare_instrumentation.sh -p BASOP -m MEM_ONLY
  # - make -j -C $INSTR_DIR
  # - cp $INSTR_DIR/IVAS_dec COMPLEXITY/IVAS_dec


.complexity-measurements-prepare-artifacts:
  &complexity-measurements-prepare-artifacts # prepare artifacts -> move to public directory