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

Do not hardcode singular include path #20386

Closed
jdemeyer opened this issue Apr 8, 2016 · 14 comments
Closed

Do not hardcode singular include path #20386

jdemeyer opened this issue Apr 8, 2016 · 14 comments

Comments

@jdemeyer
Copy link

jdemeyer commented Apr 8, 2016

Get rid of include_dirs = singular_incs in setup.py to enable easier packaging for Nix/Guix/hashdist-style distros.

CC: @sagetrac-aenge @saraedum

Component: build

Keywords: days77

Author: Jeroen Demeyer

Branch/Commit: e09a255

Reviewer: Julian Rüth

Issue created by migration from https://trac.sagemath.org/ticket/20386

@jdemeyer jdemeyer added this to the sage-7.2 milestone Apr 8, 2016
@jdemeyer
Copy link
Author

jdemeyer commented Apr 8, 2016

Changed keywords from none to days77

@jdemeyer
Copy link
Author

jdemeyer commented Apr 8, 2016

@jdemeyer
Copy link
Author

jdemeyer commented Apr 8, 2016

New commits:

685a35bInclude all Singular includes in $SAGE_LOCAL/include/singular

@jdemeyer
Copy link
Author

jdemeyer commented Apr 8, 2016

Commit: 685a35b

@saraedum
Copy link
Member

saraedum commented Apr 8, 2016

Reviewer: Julian Rüth

@vbraun
Copy link
Member

vbraun commented Apr 8, 2016

comment:7

Doesn't work, see patchbot

@jdemeyer
Copy link
Author

jdemeyer commented Apr 8, 2016

comment:8

Not sure why it worked for me... testing again after make distclean; make

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 11, 2016

Changed commit from 685a35b to 0aae37d

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 11, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

0aae37dPatch Singular to use the correct include directories

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 11, 2016

Changed commit from 0aae37d to e09a255

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 11, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

e09a255Add a link in the patch to the ticket

@jdemeyer
Copy link
Author

comment:11

Apparently, some Singular Makefile actually rewrites the include path from the correct to the wrong path. I added a Singular patch to remove one sed command fixing the issue. This now works even after make distclean.

@saraedum
Copy link
Member

comment:13

Thanks for figuring this out :)
To bad that we have to patch Singular but their build is just broken it seems.

@vbraun
Copy link
Member

vbraun commented Apr 12, 2016

Changed branch from u/jdemeyer/do_not_hardcode_singular_include_path to e09a255

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

No branches or pull requests

3 participants