Skip to content

make IntelBase generic easyblock aware of (pre)installopts#1509

Merged
boegel merged 3 commits intoeasybuilders:developfrom
ocaisa:intel_preinstallopts
Sep 15, 2018
Merged

make IntelBase generic easyblock aware of (pre)installopts#1509
boegel merged 3 commits intoeasybuilders:developfrom
ocaisa:intel_preinstallopts

Conversation

@ocaisa
Copy link
Copy Markdown
Member

@ocaisa ocaisa commented Sep 13, 2018

Addresses #1501

@ocaisa
Copy link
Copy Markdown
Member Author

ocaisa commented Sep 13, 2018

Verified with an extended dry run using easybuilders/easybuild-easyconfigs#6841

  running command "INTEL_NO_CONNECTION_CHECK=1  ./install.sh  -s /home/alanc/.local/easybuild/build/icc/2018.3.222/dummy-dummy-GCC-7.3.0-2.30/icc-2018.3.222/silent.cfg"

@boegel
Copy link
Copy Markdown
Member

boegel commented Sep 13, 2018

@ocaisa Doesn't it make sense to also pick up installopts while we're at it?

@boegel boegel added this to the 3.7.0 milestone Sep 13, 2018
# perform installation
cmd = "./install.sh %s -s %s" % (tmppathopt, silentcfg)
cmd = "%s ./install.sh %s -s %s %s" % (self.cfg['preinstallopts'], tmppathopt, silentcfg,
self.cfg['installopts'])
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ocaisa Let's reformat this while we're at it:

cmd = ' '.join([
    self.cfg['preinstallopts'],
    './install.sh',
    tmppathopt,
    '-s ' + silentcfg,
    self.cfg['installopts'],
])

@ocaisa
Copy link
Copy Markdown
Member Author

ocaisa commented Sep 14, 2018

Verified again with an extended dry run and easybuilders/easybuild-easyconfigs#6841

running command "INTEL_NO_CONNECTION_CHECK=1 ./install.sh  -s /home/alanc/.local/easybuild/build/icc/2018.3.222/dummy-dummy-GCC-7.3.0-2.30/icc-2018.3.222/silent.cfg"

@boegel boegel changed the title Make intelbase aware of preinstallopts make IntelBase generic easyblock aware of (pre)installopts Sep 15, 2018
@boegel
Copy link
Copy Markdown
Member

boegel commented Sep 15, 2018

Thanks @ocaisa!

@boegel boegel merged commit b1d8be3 into easybuilders:develop Sep 15, 2018
@ocaisa ocaisa deleted the intel_preinstallopts branch October 27, 2021 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants