Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wget not available on FreeBSD #106

Closed
Keno opened this issue May 12, 2012 · 7 comments
Closed

wget not available on FreeBSD #106

Keno opened this issue May 12, 2012 · 7 comments
Labels
Milestone

Comments

@Keno
Copy link
Contributor

Keno commented May 12, 2012

Wget is not available by default on FreeBSD. OpenBLAS should use curl instead to download lapack.

For reference, here's what we use to configure wget/curl for Julia:

## WGET / CURL
ifeq ($(OS), Linux)
WGET = wget --no-check-certificate
WGET_DASH_O = wget --no-check-certificate -O
endif

ifeq ($(OS), Darwin)
WGET = curl -kLO
WGET_DASH_O = curl -kLo
endif

ifeq ($(OS), FreeBSD)
WGET = curl -LO
WGET_DASH_O = curl -Lo
endif
@Keno
Copy link
Contributor Author

Keno commented May 13, 2012

Also, md5sum appears to be md5 on FreeBSD

@Keno
Copy link
Contributor Author

Keno commented May 13, 2012

Thanks!

@Keno Keno closed this as completed May 13, 2012
@xianyi
Copy link
Collaborator

xianyi commented May 13, 2012

Hi @loladiro

I didn't have the test box with FreeBSD.
Please test this patch.

Thanks

Xianyi

@Keno
Copy link
Contributor Author

Keno commented May 13, 2012

LGTM, I'll have the person that originally reported it to me test it too though.

@agijsberts
Copy link

Sorry to bump this old issue, but afaik curl is not available by default either. The proper alternative would be FreeBSD's 'fetch', which is included in the base system and therefore guaranteed to be present.

@xianyi xianyi reopened this Jun 20, 2012
@xianyi
Copy link
Collaborator

xianyi commented Jun 20, 2012

Hi @nolta @zchothia ,

Could you address @agijsberts 's issue? I am not familiar with FreeBSD :('

Thanks

Xianyi

@ghost ghost assigned zchothia Jun 20, 2012
@agijsberts
Copy link

In all fairness, the majority of freebsd users will have curl (and wget) installed from ports anyways. Regardless, the following seems to do the job for me:

ifeq ($(OSNAME), $(filter $(OSNAME),Darwin NetBSD))
        curl -O $(LAPACK_URL)
else
ifeq ($(OSNAME), FreeBSD)
        fetch $(LAPACK_URL)
else
        wget $(LAPACK_URL)
endif
endif

As a side-note, the develop branch compiles fine on my FreeBSD system.

@xianyi xianyi closed this as completed in b8b922d Jun 20, 2012
martin-frbg added a commit that referenced this issue Oct 22, 2020
kseniyazaytseva pushed a commit to kseniyazaytseva/OpenBLAS that referenced this issue Dec 18, 2023
Merge in PL/openblas from dev/d.kolesnikov/LM-558 to dev-riscv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants