#18514: Upgrade of group cohomology spkg
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.8
Component: packages: | Resolution:
optional | Merged in:
Keywords: group cohomology | Reviewers:
Authors: Simon King | Work issues: Create a new-style
Report Upstream: None of the above | package with least effort
- read trac for reasoning. | Commit:
Branch: | Stopgaps:
Dependencies: #18494 |
-------------------------------------+-------------------------------------
Comment (by SimonKing):
Meanwhile I really see the point of using autotools. Perhaps the experts
(i.e. you) have comments/suggestions on the following, but to me it seems
to work.
src/Makefile.am
{{{
#!Makefile
AM_CFLAGS = -O3
# -----> Shared library
lib_LIBRARIES = libmodres.a
libmodres_a_SOURCES = pincl.c pgroup.c aufloesung.c
# -----> Headers
include_HEADERS = modular_resolution.h
# -----> Executable (built from the shared library)
bin_PROGRAMS = makeActionMatrices makeNontips groupInfo perm2Gap
makeInclusionMatrix
makeActionMatrices_SOURCES = mam.c
makeActionMatrices_LDADD = $(lib_LIBRARIES)
makeNontips_SOURCES = mnt.c
makeNontips_LDADD = $(lib_LIBRARIES)
groupInfo_SOURCES = gi.c
groupInfo_LDADD = $(lib_LIBRARIES)
perm2Gap_SOURCES = perm2Gap.c
perm2Gap_LDADD = $(lib_LIBRARIES)
makeInclusionMatrix_SOURCES = mim.c
makeInclusionMatrix_LDADD = $(lib_LIBRARIES)
}}}
configure.ac
{{{
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([modular_resolution], [1.0], [[email protected]])
AM_INIT_AUTOMAKE
LT_INIT
AC_CONFIG_SRCDIR([src/fp_decls.h])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
# Checks for libraries.
AC_SEARCH_LIBS([MtxError], [mtx])
# Checks for header files.
AC_CHECK_HEADERS([stdlib.h string.h unistd.h meataxe.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT
}}}
So far I only see a single change needed: My email address will very soon
change.
--
Ticket URL: <http://trac.sagemath.org/ticket/18514#comment:77>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.