Compliance with Debian 10 Buster.

* Change: In all tools, FindTOOL.cmake, no longer use LIB_SUFFIX to
    search for tool libraries but try "lib64/" then "lib/".
* Change: In bootstrap/socInstaller.py, take Debian 10 into account.
* Change: In bootstrap/docker, move from Debian 9 to Debian 10.
This commit is contained in:
Jean-Paul Chaput 2020-03-19 18:18:35 +01:00
parent b07a472250
commit 837de500aa
30 changed files with 53 additions and 46 deletions

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(ANABATIC_LIBRARY_PATH
NAMES anabatic
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${ANABATIC_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -276,7 +276,8 @@
/usr/include
PATH_SUFFIXES qwt )
find_library(QWT_LIBRARY NAMES qwt-qt5 qwt
PATHS /usr/lib${LIB_SUFFIX} )
PATHS /usr/lib64
/usr/lib )
else()
find_path(QWT_INCLUDE_DIR NAMES qwt.h
PATHS /usr/include/qwt-qt4
@ -286,7 +287,8 @@
PATH_SUFFIXES qwt )
find_library(QWT_LIBRARY NAMES qwt-qt4 qwt
PATHS /opt/local/libexec/qt4/lib
/usr/lib${LIB_SUFFIX} )
/usr/lib64
/usr/lib )
endif()
if( QWT_INCLUDE_DIR AND QWT_LIBRARY)

View File

@ -63,7 +63,7 @@ FIND_PROGRAM(FLEX_EXECUTABLE flex DOC "path to the flex executable")
MARK_AS_ADVANCED(FLEX_EXECUTABLE)
FIND_LIBRARY(FL_LIBRARY NAMES fl
PATHS /usr/lib${LIB_SUFFIX} DOC "path to the fl library")
PATHS /usr/lib64 lib DOC "path to the fl library")
SET(FLEX_LIBRARIES ${FL_LIBRARY})
IF(FLEX_EXECUTABLE)

View File

@ -92,7 +92,7 @@
find_path( LEFDEF_LIBRARY_DIR NAMES "libdef.so"
PATHS ${LEFDEF_SEARCH_PATH}
PATH_SUFFIXES "lib${LIB_SUFFIX}"
PATH_SUFFIXES "lib64 lib"
DOC "The ${LEFDEF_LIBRARY_DIR_DESCRIPTION}" )
message( STATUS "LEFDEF_LIBRARY_DIR: ${LEFDEF_LIBRARY_DIR}" )

View File

@ -1,5 +1,5 @@
FROM debian9.coriolis
FROM debian10.coriolis
COPY root/dot.bashrc /root/.bashrc

View File

@ -1,10 +1,10 @@
FROM debian9.system
FROM debian10.system
COPY root/socInstaller.py /root/socInstaller.py
RUN mkdir -p coriolis-2.x/src \
&& git clone https://github.com/m-labs/nmigen.git \
&& cd nmigen \
&& python3 setup.py develop \
&& /root/socInstaller.py --docker --profile=Debian9 --do-alliance --do-coriolis --benchs
&& /root/socInstaller.py --docker --profile=Debian10 --do-alliance --do-coriolis --benchs

View File

@ -1,5 +1,5 @@
FROM debian:stretch-slim
FROM debian:buster-slim
ENV DEBIAN_FRONTEND=noninteractive
@ -19,3 +19,8 @@ RUN apt-get update \
vim \
&& apt-get clean
# If you want to build Alliance documentation, install those LaTeX
# packages:
# transfig texlive texlive-latex-extra
# texlive-plain-generic texlive-pictures
# imagemagick

View File

@ -0,0 +1,4 @@
systemImage="debian10.system"
coriolisImage="debian10.coriolis"
bashImage="debian10.bash"

View File

@ -1,4 +0,0 @@
systemImage="debian9.system"
coriolisImage="debian9.coriolis"
bashImage="debian9.bash"

View File

@ -440,7 +440,7 @@ class Configuration ( object ):
otherArgs.append( '--devtoolset=8' )
commands.append( CoriolisCommand( self.ccbBin, self.rootDir, 6, otherArgs , fdLog=self.fds['coriolis'] ) )
commands.append( CoriolisCommand( self.ccbBin, self.rootDir, 1, otherArgs+['--doc'], fdLog=self.fds['coriolis'] ) )
elif target == 'Ubuntu18' or target == 'Debian9':
elif target == 'Ubuntu18' or target == 'Debian9' or target == 'Debian10':
if target == 'Ubuntu18': otherArgs.append( '--qt5' )
commands.append( CoriolisCommand( self.ccbBin, self.rootDir, 3, otherArgs, fdLog=self.fds['coriolis'] ) )

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(COLOQUINTE_LIBRARY_PATH
NAMES coloquinte
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${COLOQUINTE_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(CRLCORE_LIBRARY_PATH
NAMES crlcore
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${CORIOLIS_INCLUDE_PATH_DESCRIPTION}"
)
@ -34,7 +34,7 @@ IF(UNIX)
FIND_LIBRARY(LIBMANAGER_LIBRARY_PATH
NAMES libmanager
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${CORIOLIS_INCLUDE_PATH_DESCRIPTION}"
)
@ -50,7 +50,7 @@ IF(UNIX)
FIND_LIBRARY(CORIOLIS_PYTHON_LIBRARY_PATH
NAMES pycrlcore
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "${CORIOLIS_LIBRARY_PATH_DESCRIPTION}"
)

View File

@ -1405,7 +1405,7 @@ void vstParser ( const string cellPath, Cell *cell )
, Catalog::State::Views
, Vst::states->_state->getDepth()-1) ) {
throw Error ( "CParsVst() VHDL Parser:\n"
" Unable to find cell \"%s\", please check your <.coriolis2/settings.py>.\n"
" Unable to find cell \"%s\", please check your <./coriolis2/settings.py>.\n"
, getString(Vst::states->_cellQueue.front()).c_str()
);
}

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(EQUINOX_LIBRARY_PATH
NAMES equinox
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${EQUINOX_INCLUDE_PATH_DESCRIPTION}"
)
@ -34,7 +34,7 @@ IF(UNIX)
FIND_LIBRARY(INTERVALTREE_LIBRARY_PATH
NAMES intervalTree
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${EQUINOX_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(ETESIAN_LIBRARY_PATH
NAMES etesian
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${ETESIAN_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -21,7 +21,7 @@ if( UNIX )
find_library( FLUTE_LIBRARY_PATH NAMES flute
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
DOC "${FLUTE_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -28,7 +28,7 @@ IF(UNIX)
FIND_LIBRARY(HURRICANE_LIBRARY_PATH
NAMES hurricane
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "${HURRICANE_LIBRARY_PATH_DESCRIPTION}"
)
@ -44,7 +44,7 @@ IF(UNIX)
FIND_LIBRARY(HURRICANE_ANALOG_LIBRARY_PATH
NAMES analog
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "${HURRICANE_LIBRARY_PATH_DESCRIPTION}"
)
@ -60,7 +60,7 @@ IF(UNIX)
FIND_LIBRARY(HURRICANE_PYTHON_LIBRARY_PATH
NAMES isobar
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "${HURRICANE_LIBRARY_PATH_DESCRIPTION}"
)
@ -76,7 +76,7 @@ IF(UNIX)
FIND_LIBRARY(HURRICANE_VIEWER_LIBRARY_PATH
NAMES viewer
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "${HURRICANE_LIBRARY_PATH_DESCRIPTION}"
)

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(KATABATIC_LIBRARY_PATH
NAMES katabatic
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${KATABATIC_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(KATANA_LIBRARY_PATH
NAMES katana
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${KATANA_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(KITE_LIBRARY_PATH
NAMES kite
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${KITE_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(KNIK_LIBRARY_PATH
NAMES knik
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${KNIK_INCLUDE_PATH_DESCRIPTION}"
)
@ -34,7 +34,7 @@ IF(UNIX)
FIND_LIBRARY(FLUTE_LIBRARY_PATH
NAMES flute
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${KNIK_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(MAUKA_LIBRARY_PATH
NAMES mauka
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${MAUKA_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(METIS_LIBRARY_PATH
NAMES metis
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${METIS_INCLUDE_PATH_DESCRIPTION}"
)
@ -36,7 +36,7 @@ IF(UNIX)
FIND_LIBRARY(HMETIS_LIBRARY_PATH
NAMES hmetis
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${METIS_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(NIMBUS_LIBRARY_PATH
NAMES nimbus
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${NIMBUS_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(SOLSTICE_LIBRARY_PATH
NAMES solstice
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${SOLSTICE_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -26,7 +26,7 @@ IF(UNIX)
FIND_LIBRARY(UNICORN_LIBRARY_PATH
NAMES unicorn
PATHS ${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES lib${LIB_SUFFIX}
PATH_SUFFIXES lib64 lib
# Help the user find it if we cannot.
DOC "The ${UNICORN_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -13,49 +13,49 @@
# Utilities
FIND_PATH (UTILITIES_INCLUDE_DIR NAMES vlsisapd/utilities/Path.h PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES include)
FIND_LIBRARY(UTILITIES_LIBRARY NAMES vlsisapdutils PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
FIND_LIBRARY(UTILITIES_LIBRARY NAMES vlsisapdutils PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib64 lib)
SET_FOUND (UTILITIES)
MESSAGE("-- Utilities: ${UTILITIES_LIBRARY}")
# AGDS
FIND_PATH (AGDS_INCLUDE_DIR NAMES vlsisapd/agds/GdsLibrary.h PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES include)
FIND_LIBRARY(AGDS_LIBRARY NAMES agds PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
FIND_LIBRARY(AGDS_LIBRARY NAMES agds PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib64 lib)
SET_FOUND (AGDS)
MESSAGE("-- AGDS: ${AGDS_LIBRARY}")
# CIF
FIND_PATH (CIF_INCLUDE_DIR NAMES vlsisapd/cif/Circuit.h PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES include)
FIND_LIBRARY(CIF_LIBRARY NAMES cif PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
FIND_LIBRARY(CIF_LIBRARY NAMES cif PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib64 lib)
SET_FOUND (CIF)
MESSAGE("-- Cif: ${CIF_LIBRARY}")
# OPENCHAMS
FIND_PATH (OPENCHAMS_INCLUDE_DIR NAMES vlsisapd/openChams/Circuit.h PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES include)
FIND_LIBRARY(OPENCHAMS_LIBRARY NAMES openChams PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
FIND_LIBRARY(OPENCHAMS_LIBRARY NAMES openChams PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib64 lib)
SET_FOUND (OPENCHAMS)
MESSAGE("-- OPENCHAMS: ${OPENCHAMS_LIBRARY}")
# DTR
FIND_PATH (DTR_INCLUDE_DIR NAMES vlsisapd/dtr/Techno.h PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES include)
FIND_LIBRARY(DTR_LIBRARY NAMES dtr PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
FIND_LIBRARY(DTR_LIBRARY NAMES dtr PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib64 lib)
SET_FOUND (DTR)
MESSAGE("-- DTR: ${DTR_LIBRARY}")
# SPICE
FIND_PATH (SPICE_INCLUDE_DIR NAMES vlsisapd/spice/Circuit.h PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES include)
FIND_LIBRARY(SPICE_LIBRARY NAMES spice PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
FIND_LIBRARY(SPICE_LIBRARY NAMES spice PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib64 lib)
SET_FOUND (SPICE)
MESSAGE("-- SPICE: ${SPICE_LIBRARY}")
# Bookshelf
FIND_PATH (BOOKSHELF_INCLUDE_DIR NAMES vlsisapd/bookshelf/Circuit.h PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES include)
FIND_LIBRARY(BOOKSHELF_LIBRARY NAMES bookshelf PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
FIND_LIBRARY(BOOKSHELF_LIBRARY NAMES bookshelf PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib64 lib)
SET_FOUND (BOOKSHELF)
MESSAGE("-- Bookshelf: ${BOOKSHELF_LIBRARY}")
# Configuration
FIND_PATH (CONFIGURATION_INCLUDE_DIR NAMES vlsisapd/configuration/ConfigurationWidget.h PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES include)
FIND_LIBRARY(CONFIGURATION_LIBRARY NAMES configuration PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib${LIB_SUFFIX})
FIND_LIBRARY(CONFIGURATION_LIBRARY NAMES configuration PATHS ${CORIOLIS_DIR_SEARCH} PATH_SUFFIXES lib64 lib)
SET_FOUND (CONFIGURATION)
MESSAGE("-- Configuration: ${CONFIGURATION_LIBRARY}")