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 8, 2022
1 parent 6b7c68e commit d8d07cb
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions irods_consortium_continuous_integration_build_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def add_cmake_to_front_of_path():

def install_building_dependencies(externals_directory):
externals_list = [
'irods-externals-avro1.11.0-0',
'irods-externals-avro1.11.0-1',
'irods-externals-boost1.78.0-0',
'irods-externals-clang-runtime13.0.0-0',
'irods-externals-clang13.0.0-0',
Expand All @@ -40,14 +40,16 @@ def install_os_specific_dependencies_apt():
irods_python_ci_utilities.install_os_packages(['make', '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 d8d07cb

Please sign in to comment.