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 for build on centos 6 #17

Merged
merged 4 commits into from
Feb 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM quay.io/pypa/manylinux2014_x86_64
MAINTAINER Richard D. Paul [email protected]

RUN yum -y install gmp-devel
RUN yum -y install xerces-c-devel
RUN yum -y install flex
RUN yum -y install bison
RUN yum -y install re2c
RUN yum -y install boost169-devel
RUN yum -y install lapack-devel
RUN yum -y install blas-devel
RUN yum -y install zlib-devel

RUN LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64

ADD . /root/FluxML
WORKDIR /root/FluxML
RUN ./config/mkautotools.sh boot
RUN ./configure --prefix=/root/fluxml_build
RUN CPATH=/usr/include/boost169/ make
RUN make install

2 changes: 1 addition & 1 deletion apps/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ all-local:
$(PYTHON) setup.py build

install-exec-local:
$(PYTHON) setup.py install --prefix=$$DESTDIR$(prefix)
$(PYTHON) setup.py install --prefix=$$DESTDIR$(prefix)

clean-local:
rm -rf build
Expand Down
2 changes: 1 addition & 1 deletion data/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Notation.cc : Notation.inc Notation2.inc Notation3.inc

.re.inc :
$(RE2C) -W -o $@ $<
$(RE2C) -o $@ $<

EXTRA_DIST = Notation.re Notation2.re Notation3.re

Expand Down
2 changes: 1 addition & 1 deletion symbolicmath/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ExprParser.cc : ExprParser.y ExprScannerMM.inc
touch $@

ExprScannerMM.inc : ExprScannerMM.re
$(RE2C) -W -o $@ $<
$(RE2C) -o $@ $<

BUILT_SOURCES = ExprParser.cc
EXTRA_DIST = ExprParser.y ExprScannerMM.re ExprScannerMM.inc
Expand Down