-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
spkg-configure.m4 for symmetrica #28208
Comments
comment:1
I wonder whether the Symmetrica Cython interface should be converted to using dynamic library. It's silly to link in a static one, creating a 30Mb |
comment:2
Given that the symmetrica spkg is using a custom makefile, it's just a matter of modifying it to build a shared library instead of a static one. |
comment:3
well, on OSX and Cygwin it might actually be a problem to get right. I guess it's a primary reason for having it static, it's easier. Buidling a shared library without autotoolization is a pain... |
comment:4
symmetrica package also needs a custom uninstall, as EDIT: I had a pre- |
comment:5
At present, it tests for presense of |
comment:6
conda package has |
comment:7
Replying to @isuruf:
Thanks. Is there a place I can look up the sources used (without an actual conda install)? I am trying to understand what patches are applied there by conda. |
comment:8
Source used: https://github.com/conda-forge/symmetrica-feedstock/blob/master/recipe/meta.yaml#L10-L12 Patches used: https://github.com/conda-forge/symmetrica-feedstock/tree/master/recipe/patches We use a CMake file to build which makes it easier to build windows packages and shared libs. (I've opened a PR to build shared libs at conda-forge/symmetrica-feedstock@3607965) Built packages are at https://anaconda.org/conda-forge/symmetrica/files |
comment:9
Replying to @dimpase:
This is antic from way back in probably 2008 and 2009 when I was working with T. Abbott. I have a makefile for linux and a makefile for OS X. I only install a shared library. I should revisit it and do something to merge the makefiles. I have the same headers than Isuru on conda. And I'll certainly want to steal a cmake solution from conda if it is available :) . But cmake is still not an official sage package. |
comment:10
It is. I just made symmetrica a shared library on conda for linux, osx and windows. It's unfortunate that sage doesn't have cmake as a standard package. |
comment:11
Debian has autotoolised the package, if I am not mistaken: Anyhow, it's easy to make cmake standard; in practice this would hopefully mean that people will use system's cmake, as we have the relevant |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:14
Replying to @isuruf:
I have one issue with your CMakeList.txt
this should depend on the target. Sometimes it is lib64 or lib/ (debian). I usually use https://cmake.org/cmake/help/v3.15/module/GNUInstallDirs.html in my own cmake scripts. My version is now here One thing interesting about the debian autotool patch is that it looks like they got the test working. |
Reviewer: François Bissey |
comment:15
Looks rather trivial to me. |
comment:16
Thanks @kiwifb for the fixes. I added support for running tests with |
comment:17
Replying to @isuruf:
I think I messed up a little bit by setting With the test working I will align myself onto you. No need to have too many versions around. |
comment:18
Unfortunately, Fedora comes with a buggy |
This comment has been minimized.
This comment has been minimized.
comment:24
Checked debian and conda packages and they are picked up. |
Changed reviewer from François Bissey to François Bissey, Isuru Fernando |
comment:26
Merge conflict |
Dependencies: #27827 |
comment:28
rebased over the branch of #27827 - to avoid merge conflict. |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
New commits:
|
This comment has been minimized.
This comment has been minimized.
Changed branch from u/dimpase/packages/symmconfig to |
Changed commit from |
comment:33
Follow-up: #29405 |
Debian, Fedora and Conda package it, so we can use it at least on some
boxes.
The present branch runs a test known to crash an unpatched Symmetrica version, so this allows to ignore an old Symmetrica version installed on old Fedora versions (e.g. on Fedora 26).
configure tarball:
http://users.ox.ac.uk/~coml0531/sage/configure-4416fd47f080f6f849eef2ba969b69a66d651df7.tar.gz
Depends on #27827
CC: @embray @kiwifb @isuruf
Component: build: configure
Author: Dima Pasechnik
Branch:
47f09f1
Reviewer: François Bissey, Isuru Fernando
Issue created by migration from https://trac.sagemath.org/ticket/28208
The text was updated successfully, but these errors were encountered: