mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
cad/xyce: Change to GNU tools build; Add missing test dependencies
GNU tools build is stable, and cmake build isn't yet considered to be stable.
This commit is contained in:
parent
60e94873d1
commit
4054c13798
@ -1,9 +1,10 @@
|
||||
PORTNAME= xyce
|
||||
DISTVERSION= 7.5.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= https://github.com/Xyce/Xyce/archive/refs/tags/
|
||||
DISTNAME= Release-${DISTVERSION}
|
||||
DIST_SUBDIR= xyce-${DISTVERSION}
|
||||
DIST_SUBDIR= ${PORTNAME}-${DISTVERSION}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Xyce electronic simulator
|
||||
@ -11,24 +12,39 @@ COMMENT= Xyce electronic simulator
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libamd.so:math/suitesparse-amd \
|
||||
libblas.so:math/blas \
|
||||
LIB_DEPENDS= libblas.so:math/blas \
|
||||
libfftw3.so:math/fftw3 \
|
||||
liblapack.so:math/lapack \
|
||||
libtpetra.so:science/trilinos \
|
||||
\
|
||||
libamd.so:math/suitesparse-amd \
|
||||
libcholmod.so:math/suitesparse-cholmod \
|
||||
libcolamd.so:math/suitesparse-colamd \
|
||||
libsuitesparseconfig.so:math/suitesparse-config \
|
||||
libumfpack.so:math/suitesparse-umfpack
|
||||
TEST_DEPENDS= git:devel/git
|
||||
TEST_DEPENDS= git:devel/git \
|
||||
${PYNUMPY} \
|
||||
${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
|
||||
# also needs pycompadre
|
||||
|
||||
USES= bison cmake localbase
|
||||
|
||||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
USES= autoreconf bison gmake fortran libtool localbase perl5 python:test # GNU tools should be used for 7.5 and on until the cmake cbuild is declared stable
|
||||
USE_CXXSTD= c++14 # otherwise configure fails because of c++14 features like std::conditional_t
|
||||
USE_LDCONFIG= yes
|
||||
USE_PERL5= test
|
||||
|
||||
WRKSRC= ${WRKDIR}/Xyce-Release-${DISTVERSION}
|
||||
|
||||
post-install:
|
||||
@cd ${STAGEDIR}${PREFIX} && \
|
||||
${RM} ${STAGEDIR}${PREFIX}/doc/README.TXT && \
|
||||
${RMDIR} ${STAGEDIR}${PREFIX}/doc
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= LEX=/usr/bin/flex \
|
||||
--enable-stokhos \
|
||||
--enable-amesos \
|
||||
--enable-shared \
|
||||
--disable-static
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
BINARY_ALIAS= python=${PYTHON_CMD} # only for tests
|
||||
|
||||
do-test:
|
||||
# checkout tests
|
||||
@ -43,7 +59,7 @@ do-test:
|
||||
@cd ${TEST_WRKSRC} && ( \
|
||||
${ECHO} "running tests ..."; \
|
||||
eval `${WRKDIR}/Xyce_Regression/TestScripts/suggestXyceTagList.sh ${STAGEDIR}${PREFIX}/bin/Xyce` ; \
|
||||
${WRKDIR}/Xyce_Regression/TestScripts/run_xyce_regression \
|
||||
${SETENV} ${TEST_ENV} ${WRKDIR}/Xyce_Regression/TestScripts/run_xyce_regression \
|
||||
--output=${WRKDIR}/Xyce_Test \
|
||||
--xyce_test="${WRKDIR}/Xyce_Regression" \
|
||||
--resultfile=${WRKDIR}/serial_results \
|
||||
|
@ -83,3 +83,15 @@ include/N_UTL_Xyce.h
|
||||
include/N_UTL_fwd.h
|
||||
include/Xyce_config.h
|
||||
lib/libxyce.so
|
||||
lib/libxyce.so.0
|
||||
lib/libxyce.so.0.0.0
|
||||
share/xml/adms.implicit.xml
|
||||
share/xml/html_params.xml
|
||||
share/xml/xyceAnalogFunction_nosac.xml
|
||||
share/xml/xyceBasicTemplates_nosac.xml
|
||||
share/xml/xyceBootstrapFile.xml
|
||||
share/xml/xyceHeaderFile_nosac.xml
|
||||
share/xml/xyceImplementationFile_nosac.xml
|
||||
share/xml/xyceMakefile.am.xml
|
||||
share/xml/xyceOutVarsDoc.xml
|
||||
share/xml/xyceVersion_nosac.xml
|
||||
|
Loading…
Reference in New Issue
Block a user