Skip to content

Commit

Permalink
[irods/irods#6437] Updated build hook for iRODS 4.3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn authored and alanking committed Jun 9, 2022
1 parent 3a6d815 commit 37a7726
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions irods_consortium_continuous_integration_build_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ def add_cmake_to_front_of_path():

def install_building_dependencies(externals_directory):
externals_list = [
'irods-externals-boost1.77.0-1',
'irods-externals-boost1.78.0-0',
'irods-externals-clang-runtime13.0.0-0',
'irods-externals-clang13.0.0-0',
'irods-externals-cmake3.21.4-0',
'irods-externals-fmt8.0.1-0',
'irods-externals-json3.10.4-0',
]
'irods-externals-fmt8.1.1-0',
'irods-externals-json3.10.4-0'
]
if externals_directory == 'None' or externals_directory is None:
irods_python_ci_utilities.install_irods_core_dev_repository()
irods_python_ci_utilities.install_os_packages(externals_list)
Expand All @@ -39,14 +39,16 @@ def install_os_specific_dependencies_apt():
irods_python_ci_utilities.install_os_packages(['libcurl4-gnutls-dev', 'make', 'libssl-dev', 'gcc'])

def install_os_specific_dependencies_yum():
irods_python_ci_utilities.install_os_packages(['curl-devel', 'openssl-devel'])
irods_python_ci_utilities.install_os_packages(['make', 'curl-devel', 'openssl-devel'])

def install_os_specific_dependencies():
dispatch_map = {
'Ubuntu': install_os_specific_dependencies_apt,
'Centos': install_os_specific_dependencies_yum,
'Almalinux': install_os_specific_dependencies_yum,
'Centos linux': install_os_specific_dependencies_yum,
'Centos': install_os_specific_dependencies_yum,
'Debian gnu_linux': install_os_specific_dependencies_apt,
'Opensuse ': install_os_specific_dependencies_yum,
'Ubuntu': install_os_specific_dependencies_apt
}
try:
return dispatch_map[irods_python_ci_utilities.get_distribution()]()
Expand Down

0 comments on commit 37a7726

Please sign in to comment.