Skip to content

Commit

Permalink
SIBO-650: Remove the '-k' option from curl so go to pythonhosted if
Browse files Browse the repository at this point in the history
can't access LC wheelhouse.
  • Loading branch information
tldahlgren committed Feb 21, 2019
1 parent 346dd5f commit 69eefe3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
# (Sources: https://stackoverflow.com/questions/12199059,
# https://unix.stackexchange.com/questions/84814)
#
# Note the use of '-k' curl option for insecure existence check, which will
# terminate the build on a laptop if the user does not have the necessary
# certificates installed. Otherwise, the build would proceed with pythonhosted.
HAVE_WHEELHOUSE=$(shell if curl -sSfk -o /dev/null https://www-lc.llnl.gov/python/wheelhouse; then echo 1; else echo 0; fi)
# It is important to note that the laptop must have the necessary certificates
# in order to build using the LC wheelhouse URI.
HAVE_WHEELHOUSE=$(shell if curl -sSf -o /dev/null https://www-lc.llnl.gov/python/wheelhouse; then echo 1; else echo 0; fi)

# We'll also check if we have access to LC and internal wheelhouses
LC_WHEELHOUSE_DIR=/usr/gapps/python/wheelhouse
Expand Down

0 comments on commit 69eefe3

Please sign in to comment.