Commit 34b2fd35 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

try to enable LTV JSON config

parent 87dcd737
Loading
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -28,6 +28,15 @@ loudness-measurement:
    - echo "Using config ${CONFIG_JSON}"
    - echo "Using output configs ${OUT_CONFIGS}"
    - git clone --single-branch --branch main https://gitlab-ci-token:${CI_JOB_TOKEN}@forge.3gpp.org/rep/ivas-codec-pc/ivas-processing-scripts.git
    # if the user select the LTV config, copy the LTV files to a tmpdir and use a script to update the metadata file naming
    - |
      if [[ "$CONFIG_JSON" == "scripts/config/ci_linux_ltv.json" ]]; then
        TEMP_LTV_DIR=$(mktemp -d)
        cp -r /usr/local/ltv "${TEMP_LTV_DIR}/"
        sed -i "s|/usr/local/ltv|${TEMP_LTV_DIR}/ltv|g" "${CONFIG_JSON}"
        export LTV_DIR="${TEMP_LTV_DIR}/ltv"
        ./scripts/copy-ltv-metdata.sh
      fi
    - make -j
    - |
      for fmt in ${FORMAT_LIST}; do
+1 −2
Original line number Diff line number Diff line
@@ -59,8 +59,7 @@ variables:
    description: "Config JSON file path (needs MANUAL_PIPELINE_TYPE loudness*)"
    value: "scripts/config/ci_loudness_linux.json"
    options:
      # currently doesn't work due to inconsistent metadata naming
      # - "scripts/config/ci_linux_ltv.json"
      - "scripts/config/ci_linux_ltv.json"
      - "scripts/config/ci_linux.json"
      - "scripts/config/ci_loudness_linux.json"
  LOUDNESS_FORMATS: