Skip to content

Commit

Permalink
[Infra] libva_conf updates (Intel-Media-SDK#119)
Browse files Browse the repository at this point in the history
+ manifest was created;
+ 'tags/...' does not need;
  • Loading branch information
dlobanox authored and Alexander Zhogov committed Mar 6, 2019
1 parent 5594beb commit 3f9920d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
12 changes: 7 additions & 5 deletions conf_libva.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@


LIBVA_REPO_NAME = 'libva'

PRODUCT_CONFIGS_REPO_NAME = 'product-configs'
# TODO: get LibVA version from manifest
LIBVA_VERSION = '2.3.0'
LIBVA_VERSION = '2.4.0'

PRODUCT = LIBVA_REPO_NAME

# Repos_to_extract
# TODO: get branch, commit_id from Manifest
PRODUCT_REPOS = [
{'name': 'MediaSDK'},
{'name': LIBVA_REPO_NAME, }
{'name': LIBVA_REPO_NAME},
{'name': PRODUCT_CONFIGS_REPO_NAME}
]

ENABLE_DEVTOOLSET = 'source /opt/rh/devtoolset-6/enable'
Expand Down Expand Up @@ -153,7 +155,7 @@ def get_building_cmd(command, gcc_latest, enable_devtoolset):
'from_path': options['INSTALL_DIR'],
'relative': [
{
'path': 'libva',
'path': 'usr'
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion conf_linux_public.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# This repo not needed for build and added only to support CI process
{'name': PRODUCT_CONFIGS_REPO_NAME},
# Define LibVA version to get by commit_id
{'name': LIBVA_REPO_NAME, 'branch': 'master', 'commit_id': f'tags/{LIBVA_VERSION}'},
{'name': LIBVA_REPO_NAME, 'branch': 'master', 'commit_id': LIBVA_VERSION},
]

ENABLE_DEVTOOLSET = 'source /opt/rh/devtoolset-6/enable'
Expand Down
10 changes: 10 additions & 0 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
components:
libva:
repository:
- branch: master
url: https://github.com/intel/libva
name: libva
revision: 2.4.0
type: git
version: '1'
version: '1'

0 comments on commit 3f9920d

Please sign in to comment.