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

openmp: Does not build on Travis #92

Open
mato opened this issue Mar 3, 2016 · 4 comments
Open

openmp: Does not build on Travis #92

mato opened this issue Mar 3, 2016 · 4 comments
Assignees

Comments

@mato
Copy link
Member

mato commented Mar 3, 2016

See log here:

https://travis-ci.org/rumpkernel/rumprun-packages/jobs/113386193

@ian7on
Copy link

ian7on commented Mar 21, 2016

hi! I was getting the same error that you have in travis-ci output. To me it looks like an issue with default /bin/sh not pointing to bash.
When I substitute in the Makefile:
$(eval GCC_BRANCH:=$(shell ./scripts/get_gcc_ver.sh $(CC)))
with
$(eval GCC_BRANCH =bash scripts/get_gcc_ver.sh $(CC))
Everything works.

@VincentS
Copy link
Contributor

Hey, thanks for the heads up. Sorry for my late reply I was under the weather the last few weeks.
I will look into it in the next days and provide a patch for the issue.

@mato
Copy link
Member Author

mato commented Mar 21, 2016

In scripts/get_gcc_ver.sh you could use something like

GCC_MAJOR=$(gcc -v 2>&1 |grep "^gcc version"|cut -d' ' -f3|cut -d. -f1)

instead. That'll eliminate the bashisms.

@VincentS
Copy link
Contributor

Hey,

this should fix the Travis Build error for OpenMP #114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants