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

fix autosetup.py when OpenMP is turned off #343

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lukashergt
Copy link

The automatic installation of classy is handled in the Makefile as:

ifdef OMPFLAG
	cp python/setup.py python/autosetup.py
else
	grep -v "lgomp" python/setup.py > python/autosetup.py
endif
	cd python; export CC=$(CC); $(PYTHON) autosetup.py install || $(PYTHON) autosetup.py install --user
	rm python/autosetup.py

If OpenMP is turned off, this deletes the line containing lgomp. However, that line contains a closing bracket which mustn't be deleted. In this PR I moved the closing bracket to a new line such that the line containing lgomp can be safely deleted.

… safely delete the line containing 'lgomp'
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

Successfully merging this pull request may close these issues.

1 participant