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

[INSTALLATION ERROR] default gcc 11 fail to compile sparse2d #159

Closed
1 task done
paquiteau opened this issue Jun 15, 2021 · 0 comments · Fixed by #160
Closed
1 task done

[INSTALLATION ERROR] default gcc 11 fail to compile sparse2d #159

paquiteau opened this issue Jun 15, 2021 · 0 comments · Fixed by #160
Labels
installation installation issues

Comments

@paquiteau
Copy link
Contributor

System setup
OS: I am using archlinux btw, gcc 11.1.0
Python version: [e.g.] v3.9.5

Describe the bug
setup.py install fail when compiling sparse2d librairy

Cause and Solution
Updating to gcc 11.1.0 change the default std to C++17: https://gcc.gnu.org/gcc-11/changes.html
To solve, one simply needs to set the std flags in the cmake config.

Are you planning to submit a Pull Request?

  • Yes
  • [] No
@paquiteau paquiteau added the installation installation issues label Jun 15, 2021
@paquiteau paquiteau changed the title [INSTALLATION ERROR] [INSTALLATION ERROR] default gcc 11 fail to compile sparse2d Jun 15, 2021
sfarrens added a commit that referenced this issue Jun 17, 2021
* Final clean up (#154)

* add initial CI setup to develop branch to trigger tests

* Release preparation (#146)

* set fixed package versions

* fixed discrepancy

* test with v3.4.0 of matplotlib

* lowered packages versions for python 3.6 support

* fixed nibabel version

* test github actions

* test running examples

* exclude example tests from nosetests

* fixed script name

* install pysap before running examples

* PySAP installation updates (#150)

* updated conda env

* updated environment

* updated conda env

* removed tensorflow from env

* added pynfft to env

* added Dockerfile

* removed test lines from Dockerfile

* Plug-in versions (#149)

* set plug-in and modopt versions for next release

* updated pysap-mri version

* Added new examples (#152)

Co-authored-by: chaithyagr <[email protected]>
Co-authored-by: Samuel Farrens <[email protected]>

* Release clean up (#151)

* updated readme

* fixed typos

* updated docker instructions

* updated readthedocs to use conda env

* updated nosetests to provide XML outputs (#153)

* updated nosetests to provide XML outputs

* added Docker badge

* Update README.rst

* Update README.rst

* Update ci-build.yml

* Update setup.cfg

* test adding pysphinxdoc

Co-authored-by: Chaithya G R <[email protected]>
Co-authored-by: chaithyagr <[email protected]>

* Continuous Deployment (#155)

* add initial CI setup to develop branch to trigger tests

* Release preparation (#146)

* set fixed package versions

* fixed discrepancy

* test with v3.4.0 of matplotlib

* lowered packages versions for python 3.6 support

* fixed nibabel version

* test github actions

* test running examples

* exclude example tests from nosetests

* fixed script name

* install pysap before running examples

* PySAP installation updates (#150)

* updated conda env

* updated environment

* updated conda env

* removed tensorflow from env

* added pynfft to env

* added Dockerfile

* removed test lines from Dockerfile

* Plug-in versions (#149)

* set plug-in and modopt versions for next release

* updated pysap-mri version

* Added new examples (#152)

Co-authored-by: chaithyagr <[email protected]>
Co-authored-by: Samuel Farrens <[email protected]>

* Release clean up (#151)

* updated readme

* fixed typos

* updated docker instructions

* updated readthedocs to use conda env

* updated nosetests to provide XML outputs (#153)

* updated nosetests to provide XML outputs

* added Docker badge

* Update README.rst

* Update README.rst

* Update ci-build.yml

* Update setup.cfg

* test adding pysphinxdoc

* added CD build

Co-authored-by: Chaithya G R <[email protected]>
Co-authored-by: chaithyagr <[email protected]>

* Fix modopt version in conda env (#156)

* add initial CI setup to develop branch to trigger tests

* Release preparation (#146)

* set fixed package versions

* fixed discrepancy

* test with v3.4.0 of matplotlib

* lowered packages versions for python 3.6 support

* fixed nibabel version

* test github actions

* test running examples

* exclude example tests from nosetests

* fixed script name

* install pysap before running examples

* PySAP installation updates (#150)

* updated conda env

* updated environment

* updated conda env

* removed tensorflow from env

* added pynfft to env

* added Dockerfile

* removed test lines from Dockerfile

* Plug-in versions (#149)

* set plug-in and modopt versions for next release

* updated pysap-mri version

* Added new examples (#152)

Co-authored-by: chaithyagr <[email protected]>
Co-authored-by: Samuel Farrens <[email protected]>

* Release clean up (#151)

* updated readme

* fixed typos

* updated docker instructions

* updated readthedocs to use conda env

* updated nosetests to provide XML outputs (#153)

* updated nosetests to provide XML outputs

* added Docker badge

* Update README.rst

* Update README.rst

* Update ci-build.yml

* Update setup.cfg

* test adding pysphinxdoc

* added CD build

* Update environment.yml

Co-authored-by: Chaithya G R <[email protected]>
Co-authored-by: chaithyagr <[email protected]>

* add sdt flag for c++14

Co-authored-by: Samuel Farrens <[email protected]>
Co-authored-by: Chaithya G R <[email protected]>
Co-authored-by: chaithyagr <[email protected]>
@sfarrens sfarrens linked a pull request Jun 24, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation installation issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants