diff --git a/autogen_sfbd.sh b/autogen_sfbd.sh index 29a699b..d963458 100644 --- a/autogen_sfbd.sh +++ b/autogen_sfbd.sh @@ -3,7 +3,7 @@ # default is sf # module unload gcc -module load gcc/10.4.0 ##rhel8 - default +module load gcc/11.5.0 ##rhel8 - default #Above overwritten for python in the below #module load gcc/7.3.0 for py35 py37 #module load gcc/7.5.0 for py38 py310 @@ -28,7 +28,7 @@ automake --force --add-missing --copy #Assumes format ${EPICS}/base-3.14.12 #source cafeVersion-gcc-7.3.0 CAFE_V="cafe-1.22.0" -EPICS_BASE='base-7.0.9' # +EPICS_BASE='base-7.0.10' # #For later check of existence of HOST_ARCH for $EPICS/include/os/$HOST_ARCH #Assume Linux but check if Darwin @@ -317,13 +317,14 @@ export CAFE_EPICS_V_PATCH=$EBPAT #ENABLE_OPTIONS+=" --enable-lz4" echo 'ENABLE_OPTIONS============> '$ENABLE_OPTIONS - - +#--with-boost-inc=/opt/gfa/cafe/boost/boost_1_91_0 \ +#--prefix=/psi.ch/group/8121/jan/cafe/bin/cpp/${CAFE_V} \ +# --libdir=/psi.ch/group/8121/jan/cafe/bin/cpp/${CAFE_V}/lib/${_EPICS_HOST_ARCH} \ ./configure \ - --prefix=/opt/gfa/cafe/cpp/${CAFE_V} \ - --libdir=/opt/gfa/cafe/cpp/${CAFE_V}/lib/${_EPICS_HOST_ARCH} \ + --prefix=/psi.ch/project/cafe/bin/cpp/${CAFE_V} \ + --libdir=/psi.ch/project/cafe/bin/cpp/${CAFE_V}/lib/${_EPICS_HOST_ARCH} \ ${ENABLE_OPTIONS} \ - --with-boost-inc=/opt/gfa/cafe/boost/boost_1_61_0/include \ + --with-boost-inc=/opt/gfa/cafe/boost/boost_1_91_0 \ --with-epics3=${EPICS}/base \ --with-python310=/opt/gfa/python-3.10/latest \ --with-python38=/opt/gfa/python-3.8/latest \ diff --git a/autogen_sfbd_RHEL9.sh b/autogen_sfbd_RHEL9.sh new file mode 100644 index 0000000..4da79f9 --- /dev/null +++ b/autogen_sfbd_RHEL9.sh @@ -0,0 +1,354 @@ +### psi specific - select compiler +#source +# default is sf +# +#module unload gcc +#module load gcc/10.4.0 ##rhel8 - default +#Above overwritten for python in the below +#module load gcc/7.3.0 for py35 py37 +#module load gcc/7.5.0 for py38 py310 + +### psi specific - end + +rm -f configure.ac +ln -s configurePSI.ac configure.ac + +rm -f ./aclocal.m4 +rm -rf ./autom4te.cache +aclocal --force -I m4 +libtoolize --force --copy #select libtools 2.4.6 +#libtoolize --force --copy +autoconf --force #interprets configure.ac +autoheader --force +automake --force --add-missing --copy +#autoreconf not wanted + +#Check what the EPICS RELEASE IS from ${EPICS}/base +#Used by ./configure +#Assumes format ${EPICS}/base-3.14.12 +#source cafeVersion-gcc-7.3.0 +CAFE_V="cafe-1.22.0" +EPICS_BASE='base-7.0.10' # + +#For later check of existence of HOST_ARCH for $EPICS/include/os/$HOST_ARCH +#Assume Linux but check if Darwin +CAFE_HOST_FLAG_DARWIN=$(echo ${EPICS_HOST_ARCH} | grep -c "Darwin") +export CAFE_HOST_FLAG_DARWIN=$CAFE_HOST_FLAG_DARWIN + +RETURN_ON_WRONG_INPUT=true +RETURN_FLAG=false + +##EPICS_BASE=$(readlink ${EPICS_BASE}) #$(readlink ${EPICS}/base) + +_EPICS_HOST_ARCH=${RHREL}-x86_64 + +#EB=$(readlink /afs/psi.ch/project/cafe/gitworkspace/CAFE/cpp/base) +echo $EPICS_BASE +#if [ -z "$EPICS_BASE_VERSION" ] +#then +# EPICS_BASE='base-7.0.7' #7.0 = 7+0 = 7 for major release +#fi + +echo 'input' "$0" "$1" "$2" +echo $EPICS_BASE + +FACILITY=$(echo "$1" | tr '[:upper:]' '[:lower:]') +CACLIENT=$(echo "$2" | tr '[:upper:]' '[:lower:]') + +#FACILITY_DEFAULT="sf" +#CACLIENT_DEFAULT="python" + +FACILITY_DEFAULT="sls2" +CACLIENT_DEFAULT="py37" + +FACILITY_TEMP="" +CACLIENT_TEMP="" + +echo 'input arg. facility/target' $FACILITY $CACLIENT + +if [ -n "$FACILITY" ] +then + if [ "$FACILITY" = "matlab" ] || [ "$FACILITY" = "python" ] || \ + [ "$FACILITY" = "py310" ] || [ "$FACILITY" = "py39" ] || \ + [ "$FACILITY" = "py38" ] || \ + [ "$FACILITY" = "py37" ] || [ "$FACILITY" = "py35" ] || \ + [ "$FACILITY" = "julia" ] || [ "$FACILITY" = "cpp" ] || \ + [ "$FACILITY" = "cc" ] || [ "$FACILITY" = "py34" ] + then + CACLIENT_TEMP=$FACILITY + FACILITY_TEMP=$2 + fi +fi + +if [ -n "$CACLIENT" ] +then + if [ "$CACLIENT" = "sls" ] || [ "$CACLIENT" = "sls2" ] || \ + [ "$CACLIENT" = "sf" ] || [ "$CACLIENT" = "swissfel" ] || \ + [ "$CACLIENT" = "sfel" ] || [ "$CACLIENT" = "hipa" ] + then + if [ -z $FACILITY_TEMP ] + then + FACILITY_TEMP=$CACLIENT + CACLIENT_TEMP=$1 + fi + fi +fi + + + +if [ -z "$FACILITY" ] +then + FACILITY=$FACILITY_DEFAULT + echo "FACILITY = " $FACILITY + if [ -z $CACLIENT ] + then + CACLIENT=$CACLIENT_DEFAULT + fi +elif [ "$FACILITY" = "sls" ] || [ "$FACILITY" = "sls2" ] || \ + [ "$FACILITY" = "sf" ] || [ "$FACILITY" = "swissfel" ] || \ + [ "$FACILITY" = "sfel" ] || [ "$FACILITY" = "hipa" ] +then + echo "FACILITY = " $FACILITY +elif [ -n "$FACILITY_TEMP" ] +then + if [ "$FACILITY_TEMP" = "sls" ] || [ "$FACILITY_TEMP" = "sls2" ] || \ + [ "$FACILITY_TEMP" = "sf" ] || [ "$FACILITY_TEMP" = "swissfel" ] || \ + [ "$FACILITY_TEMP" = "sfel" ] || [ "$FACILITY_TEMP" = "hipa" ] + then + + + FACILITY=$FACILITY_TEMP + else + if [ -n "$2" ] + then + echo "***UNRECOGNIZED INPUT FACILITY***" $FACILITY + echo "***VALID VALUES ARE: sls sls2 sf hipa" + RETURN_FLAG=true + fi + echo "***OTHERWISE THE DEFAULT FACILITY IS:" $FACILITY_DEFAULT + FACILITY=$FACILITY_DEFAULT + fi +else + echo "***UNRECOGNIZED INPUT FACILITY***" $FACILITY + echo "***VALID VALUES ARE: sls sls2 sf hipa" + RETURN_FLAG=true + echo "***OTHERWISE THE DEFAULT FACILITY IS: " $FACILITY_DEFAULT + FACILITY=$FACILITY_DEFAULT +fi + +if [ -n "$CACLIENT" ] +then + if [ "$CACLIENT" = "matlab" ] || [ "$CACLIENT" = "python" ] || \ + [ "$CACLIENT" = "py310" ] || [ "$CACLIENT" = "py39" ] || \ + [ "$CACLIENT" = "py38" ] || \ + [ "$CACLIENT" = "py37" ] || [ "$CACLIENT" = "py35" ] || \ + [ "$CACLIENT" = "julia" ] || [ "$CACLIENT" = "cpp" ] || \ + [ "$CACLIENT" = "cc" ] || [ "$CACLIENT" = "py34" ] + then + echo "CA TARGET = " $CACLIENT + else + if [ -n "$CACLIENT_TEMP" ] + then + if [ "$CACLIENT_TEMP" = "matlab" ] || [ "$CACLIENT_TEMP" = "python" ] || \ + [ "$CACLIENT_TEMP" = "py310" ] || [ "$CACLIENT_TEMP" = "py39" ] || \ + [ "$CACLIENT_TEMP" = "py38" ] || \ + [ "$CACLIENT_TEMP" = "py37" ] || [ "$CACLIENT_TEMP" = "py35" ] || \ + [ "$CACLIENT_TEMP" = "julia" ] || [ "$CACLIENT_TEMP" = "cpp" ] || \ + [ "$CACLIENT_TEMP" = "cc" ] || [ "$CACLIENT_TEMP" = "py34" ] + then + CACLIENT=$CACLIENT_TEMP + else + echo "***UNRECOGNIZED INPUT CA TARGET***" $CACLIENT + echo "***VALID VALUES ARE: cpp matlab python" + RETURN_FLAG=true + echo "***OTHERWISE THE DEFAULT CA TARGET IS:" $CACLIENT_DEFAULT + CACLIENT=$CACLIENT_DEFAULT + fi + else + echo "***UNRECOGNIZED INPUT CA TARGET***" $CACLIENT + echo "***VALID VALUES ARE: cpp matlab python" + RETURN_FLAG=true + echo "***OTHERWISE THE DEFAULT CA TARGET IS:" $CACLIENT_DEFAULT + CACLIENT=$CACLIENT_DEFAULT + fi + fi +else + CACLIENT=$CACLIENT_DEFAULT +fi + + + +if [ $RETURN_ON_WRONG_INPUT = true ] ; then + if [ $RETURN_FLAG = true ] ; then + return 1 2>/dev/null + exit 1 + fi +fi + +echo "FACILITY SELECTED = " $FACILITY +echo "CA TARGET SELECTED = " $CACLIENT + +ENABLE_OPTIONS="--enable-boost-inc" + +if [ "$FACILITY" = "sfel" ] || [ "$FACILITY" = "swissfel" ] +then + FACILITY="sf" +fi + +if [ "$CACLIENT" = "python" ] || [ "$CACLIENT" = "julia" ] +then + CACLIENT="py37" +fi + + +if [ "$FACILITY" = "sls2" ] +then + ENABLE_OPTIONS+=" --enable-epics7" + #CAFE_V+="-sls2" +else + ENABLE_OPTIONS+=" --enable-epics7" + if [ "$FACILITY" = "sf" ] && [ "$CACLIENT" != "matlab" ] + then + CAFE_V+="-sf" + elif [ "$FACILITY" = "hipa" ] && [ "$CACLIENT" != "matlab" ] + then + CAFE_V+="-hipa" + elif [ "$FACILITY" = "sls" ] && [ "$CACLIENT" != "matlab" ] + then + CAFE_V+="-epics3" + fi + +fi + + +if [ "$CACLIENT" = "py34" ] +then + ENABLE_OPTIONS+=" --enable-python34" + ENABLE_OPTIONS+=" --enable-qt4py34" + CAFE_V+="-py34" + ##module unload + ##module load gcc/7.3.0 +elif [ "$CACLIENT" = "py35" ] +then + ENABLE_OPTIONS+=" --enable-python35" + ENABLE_OPTIONS+=" --enable-qt4" + CAFE_V+="-py35" + ##module unload + ##module load gcc/7.3.0 +elif [ "$CACLIENT" = "py37" ] +then + ENABLE_OPTIONS+=" --enable-python37" + ENABLE_OPTIONS+=" --enable-qt5" + CAFE_V+="-py37" + ##module unload + ##module load gcc/7.5.0 +elif [ "$CACLIENT" = "py38" ] +then + ENABLE_OPTIONS+=" --enable-python38" + ENABLE_OPTIONS+=" --enable-qt5py38" + CAFE_V+="-py38" + ##module unload + ##module load gcc/7.5.0 +elif [ "$CACLIENT" = "py39" ] +then + ENABLE_OPTIONS+=" --enable-python39" + ENABLE_OPTIONS+=" --enable-qt5py39" + CAFE_V+="-py39" + ##module load gcc/7.5.0 +elif [ "$CACLIENT" = "py310" ] +then + ENABLE_OPTIONS+=" --enable-python310" + ENABLE_OPTIONS+=" --enable-qt5py310" + CAFE_V+="-py310" + ##module unload + ##module load gcc/7.5.0 + +elif [ "$CACLIENT" = "cpp" ] +then + if [ "$FACILITY" != "hipa" ] + then + ENABLE_OPTIONS+=" --enable-qt5py310" + fi +fi + +if [ "$FACILITY" = "sf" ] && [ "$CACLIENT" != "matlab" ] +then + #rm -f src/PyCafe.cpp + #ln -s PyCafe3.cpp src/PyCafe.cpp + ENABLE_OPTIONS+=" --enable-json" + ENABLE_OPTIONS+=" --enable-zeromq" + ENABLE_OPTIONS+=" --enable-curl" + ENABLE_OPTIONS+=" --enable-lz4" + ##module unload + ##module load gcc/7.3.0 +#else + #rm -f src/PyCafe.cpp + #ln -s PyCafe_sls.cpp src/PyCafe.cpp +fi + +GCC_VERSION=$(gcc -dumpfullversion) + +echo "GCC VERSION = $GCC_VERSION" + +CAFE_V+="-gcc-"$GCC_VERSION + +echo "$CAFE_V" + +echo 'EPICS BASE IS='$EPICS_BASE +#echo 'EPICS BASE DIR='${EPICS}/base-7.0.4.1 + +EB1=$(echo $EPICS_BASE | sed -e "s/[a-zA-Z]*-//g") +EBMAJ=$(echo $EB1 | sed -e "s/[[:punct:]].*//g") +EBMIN1=$(echo $EB1 | sed -e "s/^[[:digit:]]*[[:punct:]]//g") +EBMIN=$(echo $EBMIN1 | sed -e "s/[[:punct:]][[:digit:]]*//g") +EBPAT=$(echo $EB1 | sed -e "s/[[:digit:]]*[[:punct:]]//g") +echo EPICS_MAJOR=$EBMAJ +echo EPICS_MINOR=$EBMIN +echo EPICS_PATCH=$EBPAT +#echo $EBMIN1 + +export CAFE_EPICS_V_MAJOR=$EBMAJ +export CAFE_EPICS_V_MINOR=$EBMIN +export CAFE_EPICS_V_PATCH=$EBPAT + +#ENABLE_OPTIONS+=" --enable-qt5" +##ENABLE_OPTIONS+=" --enable-qt4" +#ENABLE_OPTIONS+=" --enable-python37" +##ENABLE_OPTIONS+=" --enable-python35" +#ENABLE_OPTIONS+=" --enable-json" +#ENABLE_OPTIONS+=" --enable-zeromq" +#ENABLE_OPTIONS+=" --enable-curl" +#ENABLE_OPTIONS+=" --enable-lz4" + +echo 'ENABLE_OPTIONS============> '$ENABLE_OPTIONS + +#--with-boost-inc=/psi.ch/project/cafe/bin/boost/boost_1_91_0 \ +#--with-boost-inc=/psi.ch/group/8121/jan/gitea/CAFE/boost/boost_1_91_0 \ + +./configure \ + --prefix=/psi.ch/project/cafe/bin/cpp/${CAFE_V} \ + --libdir=/psi.ch/project/cafe/bin/cpp/${CAFE_V}/lib/${_EPICS_HOST_ARCH} \ + ${ENABLE_OPTIONS} \ + --with-boost-inc=/psi.ch/project/cafe/bin/boost/boost_1_91_0 \ + --with-epics3=${EPICS}/base \ + --with-python310=/opt/gfa/python-3.10/latest \ + --with-python38=/opt/gfa/python-3.8/latest \ + --with-python37=/opt/gfa/python-3.7/latest \ + --with-python35=/opt/gfa/python-3.5/latest \ + --with-python34=/opt/psi/Programming/psi-python34/2.1.0 \ + --with-qt5py310=/opt/gfa/python-3.10/latest \ + --with-qt5py38=/opt/gfa/python-3.8/latest \ + --with-qt5=/opt/gfa/python-3.7/latest \ + --with-qt4=/opt/gfa/python-3.5/latest \ + --with-qt4py34=/opt/psi/Programming/psi-python34/2.1.0 \ + --with-json=/opt/gfa/cafe/deps/zmq/json/jsoncpp-src-0.6.0-rc2 \ + --with-zeromq=/opt/gfa/cafe/deps/zmq/zeromq-4.2.3-gcc-6.3.0 \ + --with-curl=/opt/gfa/cafe/deps/zmq/curl-7.55.1 \ + --with-lz4=/opt/gfa/cafe/deps/zmq/lz4/lib \ + --with-epics7=/usr/local/epics/${EPICS_BASE} +unset CAFE_EPICS_V_PATCH +unset CAFE_EPICS_V_MINOR +unset CAFE_EPICS_V_MAJOR + +unset CAFE_HOST_FLAG_DARWIN + diff --git a/autogen_sfbd_RHEL9_local.sh b/autogen_sfbd_RHEL9_local.sh new file mode 100644 index 0000000..95c6223 --- /dev/null +++ b/autogen_sfbd_RHEL9_local.sh @@ -0,0 +1,352 @@ +### psi specific - select compiler +#source +# default is sf +# +#module unload gcc +#module load gcc/10.4.0 ##rhel8 - default +#Above overwritten for python in the below +#module load gcc/7.3.0 for py35 py37 +#module load gcc/7.5.0 for py38 py310 + +### psi specific - end + +rm -f configure.ac +ln -s configurePSI.ac configure.ac + +rm -f ./aclocal.m4 +rm -rf ./autom4te.cache +aclocal --force -I m4 +libtoolize --force --copy #select libtools 2.4.6 +#libtoolize --force --copy +autoconf --force #interprets configure.ac +autoheader --force +automake --force --add-missing --copy +#autoreconf not wanted + +#Check what the EPICS RELEASE IS from ${EPICS}/base +#Used by ./configure +#Assumes format ${EPICS}/base-3.14.12 +#source cafeVersion-gcc-7.3.0 +CAFE_V="cafe-1.22.0" +EPICS_BASE='base-7.0.10' # + +#For later check of existence of HOST_ARCH for $EPICS/include/os/$HOST_ARCH +#Assume Linux but check if Darwin +CAFE_HOST_FLAG_DARWIN=$(echo ${EPICS_HOST_ARCH} | grep -c "Darwin") +export CAFE_HOST_FLAG_DARWIN=$CAFE_HOST_FLAG_DARWIN + +RETURN_ON_WRONG_INPUT=true +RETURN_FLAG=false + +##EPICS_BASE=$(readlink ${EPICS_BASE}) #$(readlink ${EPICS}/base) + +_EPICS_HOST_ARCH=${RHREL}-x86_64 + +#EB=$(readlink /afs/psi.ch/project/cafe/gitworkspace/CAFE/cpp/base) +echo $EPICS_BASE +#if [ -z "$EPICS_BASE_VERSION" ] +#then +# EPICS_BASE='base-7.0.7' #7.0 = 7+0 = 7 for major release +#fi + +echo 'input' "$0" "$1" "$2" +echo $EPICS_BASE + +FACILITY=$(echo "$1" | tr '[:upper:]' '[:lower:]') +CACLIENT=$(echo "$2" | tr '[:upper:]' '[:lower:]') + +#FACILITY_DEFAULT="sf" +#CACLIENT_DEFAULT="python" + +FACILITY_DEFAULT="sls2" +CACLIENT_DEFAULT="py37" + +FACILITY_TEMP="" +CACLIENT_TEMP="" + +echo 'input arg. facility/target' $FACILITY $CACLIENT + +if [ -n "$FACILITY" ] +then + if [ "$FACILITY" = "matlab" ] || [ "$FACILITY" = "python" ] || \ + [ "$FACILITY" = "py310" ] || [ "$FACILITY" = "py39" ] || \ + [ "$FACILITY" = "py38" ] || \ + [ "$FACILITY" = "py37" ] || [ "$FACILITY" = "py35" ] || \ + [ "$FACILITY" = "julia" ] || [ "$FACILITY" = "cpp" ] || \ + [ "$FACILITY" = "cc" ] || [ "$FACILITY" = "py34" ] + then + CACLIENT_TEMP=$FACILITY + FACILITY_TEMP=$2 + fi +fi + +if [ -n "$CACLIENT" ] +then + if [ "$CACLIENT" = "sls" ] || [ "$CACLIENT" = "sls2" ] || \ + [ "$CACLIENT" = "sf" ] || [ "$CACLIENT" = "swissfel" ] || \ + [ "$CACLIENT" = "sfel" ] || [ "$CACLIENT" = "hipa" ] + then + if [ -z $FACILITY_TEMP ] + then + FACILITY_TEMP=$CACLIENT + CACLIENT_TEMP=$1 + fi + fi +fi + + + +if [ -z "$FACILITY" ] +then + FACILITY=$FACILITY_DEFAULT + echo "FACILITY = " $FACILITY + if [ -z $CACLIENT ] + then + CACLIENT=$CACLIENT_DEFAULT + fi +elif [ "$FACILITY" = "sls" ] || [ "$FACILITY" = "sls2" ] || \ + [ "$FACILITY" = "sf" ] || [ "$FACILITY" = "swissfel" ] || \ + [ "$FACILITY" = "sfel" ] || [ "$FACILITY" = "hipa" ] +then + echo "FACILITY = " $FACILITY +elif [ -n "$FACILITY_TEMP" ] +then + if [ "$FACILITY_TEMP" = "sls" ] || [ "$FACILITY_TEMP" = "sls2" ] || \ + [ "$FACILITY_TEMP" = "sf" ] || [ "$FACILITY_TEMP" = "swissfel" ] || \ + [ "$FACILITY_TEMP" = "sfel" ] || [ "$FACILITY_TEMP" = "hipa" ] + then + + + FACILITY=$FACILITY_TEMP + else + if [ -n "$2" ] + then + echo "***UNRECOGNIZED INPUT FACILITY***" $FACILITY + echo "***VALID VALUES ARE: sls sls2 sf hipa" + RETURN_FLAG=true + fi + echo "***OTHERWISE THE DEFAULT FACILITY IS:" $FACILITY_DEFAULT + FACILITY=$FACILITY_DEFAULT + fi +else + echo "***UNRECOGNIZED INPUT FACILITY***" $FACILITY + echo "***VALID VALUES ARE: sls sls2 sf hipa" + RETURN_FLAG=true + echo "***OTHERWISE THE DEFAULT FACILITY IS: " $FACILITY_DEFAULT + FACILITY=$FACILITY_DEFAULT +fi + +if [ -n "$CACLIENT" ] +then + if [ "$CACLIENT" = "matlab" ] || [ "$CACLIENT" = "python" ] || \ + [ "$CACLIENT" = "py310" ] || [ "$CACLIENT" = "py39" ] || \ + [ "$CACLIENT" = "py38" ] || \ + [ "$CACLIENT" = "py37" ] || [ "$CACLIENT" = "py35" ] || \ + [ "$CACLIENT" = "julia" ] || [ "$CACLIENT" = "cpp" ] || \ + [ "$CACLIENT" = "cc" ] || [ "$CACLIENT" = "py34" ] + then + echo "CA TARGET = " $CACLIENT + else + if [ -n "$CACLIENT_TEMP" ] + then + if [ "$CACLIENT_TEMP" = "matlab" ] || [ "$CACLIENT_TEMP" = "python" ] || \ + [ "$CACLIENT_TEMP" = "py310" ] || [ "$CACLIENT_TEMP" = "py39" ] || \ + [ "$CACLIENT_TEMP" = "py38" ] || \ + [ "$CACLIENT_TEMP" = "py37" ] || [ "$CACLIENT_TEMP" = "py35" ] || \ + [ "$CACLIENT_TEMP" = "julia" ] || [ "$CACLIENT_TEMP" = "cpp" ] || \ + [ "$CACLIENT_TEMP" = "cc" ] || [ "$CACLIENT_TEMP" = "py34" ] + then + CACLIENT=$CACLIENT_TEMP + else + echo "***UNRECOGNIZED INPUT CA TARGET***" $CACLIENT + echo "***VALID VALUES ARE: cpp matlab python" + RETURN_FLAG=true + echo "***OTHERWISE THE DEFAULT CA TARGET IS:" $CACLIENT_DEFAULT + CACLIENT=$CACLIENT_DEFAULT + fi + else + echo "***UNRECOGNIZED INPUT CA TARGET***" $CACLIENT + echo "***VALID VALUES ARE: cpp matlab python" + RETURN_FLAG=true + echo "***OTHERWISE THE DEFAULT CA TARGET IS:" $CACLIENT_DEFAULT + CACLIENT=$CACLIENT_DEFAULT + fi + fi +else + CACLIENT=$CACLIENT_DEFAULT +fi + + + +if [ $RETURN_ON_WRONG_INPUT = true ] ; then + if [ $RETURN_FLAG = true ] ; then + return 1 2>/dev/null + exit 1 + fi +fi + +echo "FACILITY SELECTED = " $FACILITY +echo "CA TARGET SELECTED = " $CACLIENT + +ENABLE_OPTIONS="--enable-boost-inc" + +if [ "$FACILITY" = "sfel" ] || [ "$FACILITY" = "swissfel" ] +then + FACILITY="sf" +fi + +if [ "$CACLIENT" = "python" ] || [ "$CACLIENT" = "julia" ] +then + CACLIENT="py37" +fi + + +if [ "$FACILITY" = "sls2" ] +then + ENABLE_OPTIONS+=" --enable-epics7" + #CAFE_V+="-sls2" +else + ENABLE_OPTIONS+=" --enable-epics7" + if [ "$FACILITY" = "sf" ] && [ "$CACLIENT" != "matlab" ] + then + CAFE_V+="-sf" + elif [ "$FACILITY" = "hipa" ] && [ "$CACLIENT" != "matlab" ] + then + CAFE_V+="-hipa" + elif [ "$FACILITY" = "sls" ] && [ "$CACLIENT" != "matlab" ] + then + CAFE_V+="-epics3" + fi + +fi + + +if [ "$CACLIENT" = "py34" ] +then + ENABLE_OPTIONS+=" --enable-python34" + ENABLE_OPTIONS+=" --enable-qt4py34" + CAFE_V+="-py34" + ##module unload + ##module load gcc/7.3.0 +elif [ "$CACLIENT" = "py35" ] +then + ENABLE_OPTIONS+=" --enable-python35" + ENABLE_OPTIONS+=" --enable-qt4" + CAFE_V+="-py35" + ##module unload + ##module load gcc/7.3.0 +elif [ "$CACLIENT" = "py37" ] +then + ENABLE_OPTIONS+=" --enable-python37" + ENABLE_OPTIONS+=" --enable-qt5" + CAFE_V+="-py37" + ##module unload + ##module load gcc/7.5.0 +elif [ "$CACLIENT" = "py38" ] +then + ENABLE_OPTIONS+=" --enable-python38" + ENABLE_OPTIONS+=" --enable-qt5py38" + CAFE_V+="-py38" + ##module unload + ##module load gcc/7.5.0 +elif [ "$CACLIENT" = "py39" ] +then + ENABLE_OPTIONS+=" --enable-python39" + ENABLE_OPTIONS+=" --enable-qt5py39" + CAFE_V+="-py39" + ##module load gcc/7.5.0 +elif [ "$CACLIENT" = "py310" ] +then + ENABLE_OPTIONS+=" --enable-python310" + ENABLE_OPTIONS+=" --enable-qt5py310" + CAFE_V+="-py310" + ##module unload + ##module load gcc/7.5.0 + +elif [ "$CACLIENT" = "cpp" ] +then + if [ "$FACILITY" != "hipa" ] + then + ENABLE_OPTIONS+=" --enable-qt5py310" + fi +fi + +if [ "$FACILITY" = "sf" ] && [ "$CACLIENT" != "matlab" ] +then + #rm -f src/PyCafe.cpp + #ln -s PyCafe3.cpp src/PyCafe.cpp + ENABLE_OPTIONS+=" --enable-json" + ENABLE_OPTIONS+=" --enable-zeromq" + ENABLE_OPTIONS+=" --enable-curl" + ENABLE_OPTIONS+=" --enable-lz4" + ##module unload + ##module load gcc/7.3.0 +#else + #rm -f src/PyCafe.cpp + #ln -s PyCafe_sls.cpp src/PyCafe.cpp +fi + +GCC_VERSION=$(gcc -dumpfullversion) + +echo "GCC VERSION = $GCC_VERSION" + +CAFE_V+="-gcc-"$GCC_VERSION + +echo "$CAFE_V" + +echo 'EPICS BASE IS='$EPICS_BASE +#echo 'EPICS BASE DIR='${EPICS}/base-7.0.4.1 + +EB1=$(echo $EPICS_BASE | sed -e "s/[a-zA-Z]*-//g") +EBMAJ=$(echo $EB1 | sed -e "s/[[:punct:]].*//g") +EBMIN1=$(echo $EB1 | sed -e "s/^[[:digit:]]*[[:punct:]]//g") +EBMIN=$(echo $EBMIN1 | sed -e "s/[[:punct:]][[:digit:]]*//g") +EBPAT=$(echo $EB1 | sed -e "s/[[:digit:]]*[[:punct:]]//g") +echo EPICS_MAJOR=$EBMAJ +echo EPICS_MINOR=$EBMIN +echo EPICS_PATCH=$EBPAT +#echo $EBMIN1 + +export CAFE_EPICS_V_MAJOR=$EBMAJ +export CAFE_EPICS_V_MINOR=$EBMIN +export CAFE_EPICS_V_PATCH=$EBPAT + +#ENABLE_OPTIONS+=" --enable-qt5" +##ENABLE_OPTIONS+=" --enable-qt4" +#ENABLE_OPTIONS+=" --enable-python37" +##ENABLE_OPTIONS+=" --enable-python35" +#ENABLE_OPTIONS+=" --enable-json" +#ENABLE_OPTIONS+=" --enable-zeromq" +#ENABLE_OPTIONS+=" --enable-curl" +#ENABLE_OPTIONS+=" --enable-lz4" + +echo 'ENABLE_OPTIONS============> '$ENABLE_OPTIONS + + +./configure \ + --prefix=/psi.ch/group/8121/jan/cafe/bin/cpp/${CAFE_V} \ + --libdir=/psi.ch/group/8121/jan/cafe/bin/cpp/${CAFE_V}/lib/${_EPICS_HOST_ARCH} \ + ${ENABLE_OPTIONS} \ + --with-boost-inc=/psi.ch/project/cafe/bin/boost/boost_1_61_0/include \ + --with-epics3=${EPICS}/base \ + --with-python310=/opt/gfa/python-3.10/latest \ + --with-python38=/opt/gfa/python-3.8/latest \ + --with-python37=/opt/gfa/python-3.7/latest \ + --with-python35=/opt/gfa/python-3.5/latest \ + --with-python34=/opt/psi/Programming/psi-python34/2.1.0 \ + --with-qt5py310=/opt/gfa/python-3.10/latest \ + --with-qt5py38=/opt/gfa/python-3.8/latest \ + --with-qt5=/opt/gfa/python-3.7/latest \ + --with-qt4=/opt/gfa/python-3.5/latest \ + --with-qt4py34=/opt/psi/Programming/psi-python34/2.1.0 \ + --with-json=/opt/gfa/cafe/deps/zmq/json/jsoncpp-src-0.6.0-rc2 \ + --with-zeromq=/opt/gfa/cafe/deps/zmq/zeromq-4.2.3-gcc-6.3.0 \ + --with-curl=/opt/gfa/cafe/deps/zmq/curl-7.55.1 \ + --with-lz4=/opt/gfa/cafe/deps/zmq/lz4/lib \ + --with-epics7=/usr/local/epics/${EPICS_BASE} +unset CAFE_EPICS_V_PATCH +unset CAFE_EPICS_V_MINOR +unset CAFE_EPICS_V_MAJOR + +unset CAFE_HOST_FLAG_DARWIN + diff --git a/config.guess b/config.guess index 256083a..b33c9e8 100755 --- a/config.guess +++ b/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2018 Free Software Foundation, Inc. -timestamp='2018-03-08' +timestamp='2018-08-29' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -84,8 +84,6 @@ if test $# != 0; then exit 1 fi -trap 'exit 1' 1 2 15 - # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a @@ -96,34 +94,39 @@ trap 'exit 1' 1 2 15 # Portable tmp directory creation inspired by the Autoconf team. -set_cc_for_build=' -trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; -: ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || - { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || - { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || - { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; -dummy=$tmp/dummy ; -tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; -case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int x;" > "$dummy.c" ; - for c in cc gcc c89 c99 ; do - if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ; set_cc_for_build= ;' +tmp= +# shellcheck disable=SC2172 +trap 'test -z "$tmp" || rm -fr "$tmp"' 1 2 13 15 +trap 'exitcode=$?; test -z "$tmp" || rm -fr "$tmp"; exit $exitcode' 0 + +set_cc_for_build() { + : "${TMPDIR=/tmp}" + # shellcheck disable=SC2039 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } + dummy=$tmp/dummy + case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in + ,,) echo "int x;" > "$dummy.c" + for driver in cc gcc c89 c99 ; do + if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then + CC_FOR_BUILD="$driver" + break + fi + done + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; + esac +} # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then +if test -f /.attbin/uname ; then PATH=$PATH:/.attbin ; export PATH fi @@ -138,7 +141,7 @@ Linux|GNU|GNU/*) # We could probably try harder. LIBC=gnu - eval "$set_cc_for_build" + set_cc_for_build cat <<-EOF > "$dummy.c" #include #if defined(__UCLIBC__) @@ -199,7 +202,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in os=netbsdelf ;; arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval "$set_cc_for_build" + set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then @@ -237,7 +240,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "$machine-${os}${release}${abi}" + echo "$machine-${os}${release}${abi-}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` @@ -389,20 +392,15 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in echo i386-pc-auroraux"$UNAME_RELEASE" exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) - eval "$set_cc_for_build" - SUN_ARCH=i386 - # If there is a compiler, see if it is configured for 64-bit objects. - # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. - # This test works for both compilers. - if [ "$CC_FOR_BUILD" != no_compiler_found ]; then - if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - SUN_ARCH=x86_64 - fi - fi - echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + UNAME_REL="`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" + case `isainfo -b` in + 32) + echo i386-pc-solaris2"$UNAME_REL" + ;; + 64) + echo x86_64-pc-solaris2"$UNAME_REL" + ;; + esac exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize @@ -482,7 +480,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in echo clipper-intergraph-clix"$UNAME_RELEASE" exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) - eval "$set_cc_for_build" + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #ifdef __cplusplus #include /* for printf() prototype */ @@ -579,7 +577,7 @@ EOF exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval "$set_cc_for_build" + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #include @@ -660,7 +658,7 @@ EOF esac fi if [ "$HP_ARCH" = "" ]; then - eval "$set_cc_for_build" + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #define _HPUX_SOURCE @@ -700,7 +698,7 @@ EOF esac if [ "$HP_ARCH" = hppa2.0w ] then - eval "$set_cc_for_build" + set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler @@ -726,7 +724,7 @@ EOF echo ia64-hp-hpux"$HPUX_REV" exit ;; 3050*:HI-UX:*:*) - eval "$set_cc_for_build" + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #include int @@ -840,6 +838,17 @@ EOF *:BSD/OS:*:*) echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" exit ;; + arm:FreeBSD:*:*) + UNAME_PROCESSOR=`uname -p` + set_cc_for_build + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabi + else + echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabihf + fi + exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case "$UNAME_PROCESSOR" in @@ -894,8 +903,8 @@ EOF # other systems with GNU libc and userland echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" exit ;; - i*86:Minix:*:*) - echo "$UNAME_MACHINE"-pc-minix + *:Minix:*:*) + echo "$UNAME_MACHINE"-unknown-minix exit ;; aarch64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" @@ -922,7 +931,7 @@ EOF echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; arm*:Linux:*:*) - eval "$set_cc_for_build" + set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then @@ -971,7 +980,7 @@ EOF echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; mips:Linux:*:* | mips64:Linux:*:*) - eval "$set_cc_for_build" + set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #undef CPU #undef ${UNAME_MACHINE} @@ -1285,7 +1294,7 @@ EOF exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - eval "$set_cc_for_build" + set_cc_for_build if test "$UNAME_PROCESSOR" = unknown ; then UNAME_PROCESSOR=powerpc fi @@ -1358,6 +1367,7 @@ EOF # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. + # shellcheck disable=SC2154 if test "$cputype" = 386; then UNAME_MACHINE=i386 else diff --git a/config.log b/config.log index 083604c..b7d9f45 100644 --- a/config.log +++ b/config.log @@ -4,17 +4,17 @@ running configure, to aid debugging if configure makes a mistake. It was created by CAFE configure 1.22.0, which was generated by GNU Autoconf 2.69. Invocation command line was - $ ./configure --prefix=/opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0 --libdir=/opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0/lib/RHEL8-x86_64 --enable-boost-inc --enable-epics7 --with-boost-inc=/opt/gfa/cafe/boost/boost_1_61_0/include --with-epics3=/usr/local/epics/base --with-python310=/opt/gfa/python-3.10/latest --with-python38=/opt/gfa/python-3.8/latest --with-python37=/opt/gfa/python-3.7/latest --with-python35=/opt/gfa/python-3.5/latest --with-python34=/opt/psi/Programming/psi-python34/2.1.0 --with-qt5py310=/opt/gfa/python-3.10/latest --with-qt5py38=/opt/gfa/python-3.8/latest --with-qt5=/opt/gfa/python-3.7/latest --with-qt4=/opt/gfa/python-3.5/latest --with-qt4py34=/opt/psi/Programming/psi-python34/2.1.0 --with-json=/opt/gfa/cafe/deps/zmq/json/jsoncpp-src-0.6.0-rc2 --with-zeromq=/opt/gfa/cafe/deps/zmq/zeromq-4.2.3-gcc-6.3.0 --with-curl=/opt/gfa/cafe/deps/zmq/curl-7.55.1 --with-lz4=/opt/gfa/cafe/deps/zmq/lz4/lib --with-epics7=/usr/local/epics/base-7.0.9 CXX=/opt/psi/Programming/gcc/10.4.0/bin/g++ CC=/opt/psi/Programming/gcc/10.4.0/bin/gcc --no-create --no-recursion + $ ./configure --prefix=/psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0 --libdir=/psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0/lib/RHEL9-x86_64 --enable-boost-inc --enable-epics7 --with-boost-inc=/psi.ch/project/cafe/bin/boost/boost_1_91_0 --with-epics3=/usr/local/epics/base --with-python310=/opt/gfa/python-3.10/latest --with-python38=/opt/gfa/python-3.8/latest --with-python37=/opt/gfa/python-3.7/latest --with-python35=/opt/gfa/python-3.5/latest --with-python34=/opt/psi/Programming/psi-python34/2.1.0 --with-qt5py310=/opt/gfa/python-3.10/latest --with-qt5py38=/opt/gfa/python-3.8/latest --with-qt5=/opt/gfa/python-3.7/latest --with-qt4=/opt/gfa/python-3.5/latest --with-qt4py34=/opt/psi/Programming/psi-python34/2.1.0 --with-json=/opt/gfa/cafe/deps/zmq/json/jsoncpp-src-0.6.0-rc2 --with-zeromq=/opt/gfa/cafe/deps/zmq/zeromq-4.2.3-gcc-6.3.0 --with-curl=/opt/gfa/cafe/deps/zmq/curl-7.55.1 --with-lz4=/opt/gfa/cafe/deps/zmq/lz4/lib --with-epics7=/usr/local/epics/base-7.0.10 --no-create --no-recursion ## --------- ## ## Platform. ## ## --------- ## -hostname = sls-lc8.psi.ch +hostname = hipa-lc9.psi.ch uname -m = x86_64 -uname -r = 4.18.0-553.22.1.el8_10.x86_64 +uname -r = 5.14.0-611.42.1.el9_7.x86_64 uname -s = Linux -uname -v = #1 SMP Wed Sep 11 18:02:00 EDT 2024 +uname -v = #1 SMP PREEMPT_DYNAMIC Thu Mar 12 06:12:30 EDT 2026 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown @@ -27,266 +27,261 @@ uname -v = #1 SMP Wed Sep 11 18:02:00 EDT 2024 /usr/bin/oslevel = unknown /bin/universe = unknown -PATH: /opt/psi/Programming/gcc/10.4.0/bin -PATH: /opt/psi/Programming/matlab/2024b/bin -PATH: /opt/gfa/python-3.7/2018.12/bin -PATH: /opt/gfa/python-3.7/2018.12/condabin -PATH: /opt/gfa/python-3.5/latest/bin -PATH: /usr/local/epics/seq/bin/RHEL8-x86_64 -PATH: /usr/lib/openoffice.org/program -PATH: /opt/psi/Tools/HDFView/3.1.2/bin +PATH: /home/chrin/.local/bin +PATH: /home/chrin/bin PATH: /usr/share/Modules/bin -PATH: /sbin -PATH: /bin -PATH: /sls/bd/bin -PATH: /sls/controls/bin -PATH: /sls/diag/bin -PATH: /sls/mag/bin -PATH: /sls/metro/bin -PATH: /sls/op/bin -PATH: /sls/plc -PATH: /sls/rf/bin -PATH: /sls/vcs/bin +PATH: /hipa/op/bin +PATH: /hipa/bd/bin +PATH: /hipa/diag/bin +PATH: /hipa/rf/bin +PATH: /hipa/controls/bin +PATH: /hipa/sec/bin +PATH: /hipa/vcs/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /usr/local/sbin PATH: /usr/sbin -PATH: /usr/local/epics/base-7.0.9/bin/RHEL8-x86_64 -PATH: /sls/bd/bin -PATH: /sls/controls/bin +PATH: /hipa/controls/bin +PATH: /hipa/bd/bin PATH: /opt/puppetlabs/bin -PATH: /afs/psi.ch/project/zeromq/deps/pycharm-community-2018.1.4/bin -PATH: /afs/psi.ch/user/c/chrin/Downloads/astyle/build/gcc/bin -PATH: /afs/psi.ch/user/c/chrin/.local/bin -PATH: /afs/psi.ch/user/c/chrin/python/pycharm-community-2018.1.4/bin -PATH: /afs/psi.ch/user/c/chrin/bin +PATH: /usr/local/epics/base-7.0.10/bin/RHEL9-x86_64 ## ----------- ## ## Core tests. ## ## ----------- ## -configure:2503: checking for a BSD-compatible install -configure:2571: result: /bin/install -c -configure:2582: checking whether build environment is sane -configure:2637: result: yes -configure:2788: checking for a thread-safe mkdir -p -configure:2827: result: /bin/mkdir -p -configure:2834: checking for gawk -configure:2850: found /bin/gawk -configure:2861: result: gawk -configure:2872: checking whether make sets $(MAKE) -configure:2894: result: yes -configure:2923: checking whether make supports nested variables -configure:2940: result: yes -configure:3189: checking for C++ compiler version -configure:3198: /opt/psi/Programming/gcc/10.4.0/bin/g++ --version >&5 -g++ ('PSI Environment Module') 10.4.0 -Copyright (C) 2020 Free Software Foundation, Inc. +configure:2515: checking for a BSD-compatible install +configure:2583: result: /usr/bin/install -c +configure:2594: checking whether build environment is sane +configure:2649: result: yes +configure:2800: checking for a thread-safe mkdir -p +configure:2839: result: /usr/bin/mkdir -p +configure:2846: checking for gawk +configure:2862: found /usr/bin/gawk +configure:2873: result: gawk +configure:2884: checking whether make sets $(MAKE) +configure:2906: result: yes +configure:2935: checking whether make supports nested variables +configure:2952: result: yes +configure:3147: checking for g++ +configure:3163: found /usr/bin/g++ +configure:3174: result: g++ +configure:3201: checking for C++ compiler version +configure:3210: g++ --version >&5 +g++ (GCC) 11.5.0 20240719 (Red Hat 11.5.0-14) +Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -configure:3209: $? = 0 -configure:3198: /opt/psi/Programming/gcc/10.4.0/bin/g++ -v >&5 +configure:3221: $? = 0 +configure:3210: g++ -v >&5 Using built-in specs. -COLLECT_GCC=/opt/psi/Programming/gcc/10.4.0/bin/g++ -COLLECT_LTO_WRAPPER=/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/10.4.0/lto-wrapper -Target: x86_64-pc-linux-gnu -Configured with: /opt/psi/var/tmp/gsell/gcc-10.4.0/src/configure --prefix=/opt/psi/Programming/gcc/10.4.0 --enable-languages=c,c++,objc,obj-c++,lto,fortran,go --with-gmp=/opt/psi/Libraries/gmp/6.2.1 --with-mpfr=/opt/psi/Libraries/mpfr/4.1.0 --with-mpc=/opt/psi/Libraries/mpc/1.2.1 --enable-lto --disable-multilib --with-pkgversion=''\''PSI Environment Module'\''' --with-build-config=bootstrap-debug +COLLECT_GCC=g++ +COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper +OFFLOAD_TARGET_NAMES=nvptx-none +OFFLOAD_TARGET_DEFAULT=1 +Target: x86_64-redhat-linux +Configured with: ../configure --enable-bootstrap --enable-host-pie --enable-host-bind-now --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --enable-initfini-array --without-isl --enable-multilib --with-linker-hash-style=gnu --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_64=x86-64-v2 --with-arch_32=x86-64 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 Thread model: posix -Supported LTO compression algorithms: zlib -gcc version 10.4.0 ('PSI Environment Module') -configure:3209: $? = 0 -configure:3198: /opt/psi/Programming/gcc/10.4.0/bin/g++ -V >&5 +Supported LTO compression algorithms: zlib zstd +gcc version 11.5.0 20240719 (Red Hat 11.5.0-14) (GCC) +... rest of stderr output deleted ... +configure:3221: $? = 0 +configure:3210: g++ -V >&5 g++: error: unrecognized command-line option '-V' g++: fatal error: no input files compilation terminated. -configure:3209: $? = 1 -configure:3198: /opt/psi/Programming/gcc/10.4.0/bin/g++ -qversion >&5 +configure:3221: $? = 1 +configure:3210: g++ -qversion >&5 g++: error: unrecognized command-line option '-qversion'; did you mean '--version'? g++: fatal error: no input files compilation terminated. -configure:3209: $? = 1 -configure:3229: checking whether the C++ compiler works -configure:3251: /opt/psi/Programming/gcc/10.4.0/bin/g++ conftest.cpp >&5 -configure:3255: $? = 0 -configure:3303: result: yes -configure:3306: checking for C++ compiler default output file name -configure:3308: result: a.out -configure:3314: checking for suffix of executables -configure:3321: /opt/psi/Programming/gcc/10.4.0/bin/g++ -o conftest conftest.cpp >&5 -configure:3325: $? = 0 -configure:3347: result: -configure:3369: checking whether we are cross compiling -configure:3377: /opt/psi/Programming/gcc/10.4.0/bin/g++ -o conftest conftest.cpp >&5 -configure:3381: $? = 0 -configure:3388: ./conftest -configure:3392: $? = 0 -configure:3407: result: no -configure:3412: checking for suffix of object files -configure:3434: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c conftest.cpp >&5 -configure:3438: $? = 0 -configure:3459: result: o -configure:3463: checking whether we are using the GNU C++ compiler -configure:3482: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c conftest.cpp >&5 -configure:3482: $? = 0 -configure:3491: result: yes -configure:3500: checking whether /opt/psi/Programming/gcc/10.4.0/bin/g++ accepts -g -configure:3520: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c -g conftest.cpp >&5 -configure:3520: $? = 0 -configure:3561: result: yes -configure:3587: checking whether make supports the include directive -configure:3602: make -f confmf.GNU && cat confinc.out -make[1]: Entering directory '/afs/psi.ch/project/cafe/gitea/CAFE/cpp' -make[1]: Leaving directory '/afs/psi.ch/project/cafe/gitea/CAFE/cpp' +configure:3221: $? = 1 +configure:3241: checking whether the C++ compiler works +configure:3263: g++ conftest.cpp >&5 +configure:3267: $? = 0 +configure:3315: result: yes +configure:3318: checking for C++ compiler default output file name +configure:3320: result: a.out +configure:3326: checking for suffix of executables +configure:3333: g++ -o conftest conftest.cpp >&5 +configure:3337: $? = 0 +configure:3359: result: +configure:3381: checking whether we are cross compiling +configure:3389: g++ -o conftest conftest.cpp >&5 +configure:3393: $? = 0 +configure:3400: ./conftest +configure:3404: $? = 0 +configure:3419: result: no +configure:3424: checking for suffix of object files +configure:3446: g++ -c conftest.cpp >&5 +configure:3450: $? = 0 +configure:3471: result: o +configure:3475: checking whether we are using the GNU C++ compiler +configure:3494: g++ -c conftest.cpp >&5 +configure:3494: $? = 0 +configure:3503: result: yes +configure:3512: checking whether g++ accepts -g +configure:3532: g++ -c -g conftest.cpp >&5 +configure:3532: $? = 0 +configure:3573: result: yes +configure:3599: checking whether make supports the include directive +configure:3614: make -f confmf.GNU && cat confinc.out +make[1]: Entering directory '/psi.ch/.nfs-server/nfs32.psi.ch/8121/jan/gitea/CAFE/cpp' +make[1]: Leaving directory '/psi.ch/.nfs-server/nfs32.psi.ch/8121/jan/gitea/CAFE/cpp' this is the am__doit target -configure:3605: $? = 0 -configure:3624: result: yes (GNU style) -configure:3649: checking dependency style of /opt/psi/Programming/gcc/10.4.0/bin/g++ -configure:3760: result: gcc3 -configure:3806: checking build system type -configure:3820: result: x86_64-pc-linux-gnu -configure:3840: checking host system type -configure:3853: result: x86_64-pc-linux-gnu -configure:3894: checking how to print strings -configure:3921: result: printf -configure:3990: checking for gcc -configure:4017: result: /opt/psi/Programming/gcc/10.4.0/bin/gcc -configure:4246: checking for C compiler version -configure:4255: /opt/psi/Programming/gcc/10.4.0/bin/gcc --version >&5 -gcc ('PSI Environment Module') 10.4.0 -Copyright (C) 2020 Free Software Foundation, Inc. +configure:3617: $? = 0 +configure:3636: result: yes (GNU style) +configure:3661: checking dependency style of g++ +configure:3772: result: gcc3 +configure:3818: checking build system type +configure:3832: result: x86_64-pc-linux-gnu +configure:3852: checking host system type +configure:3865: result: x86_64-pc-linux-gnu +configure:3906: checking how to print strings +configure:3933: result: printf +configure:4002: checking for gcc +configure:4018: found /usr/bin/gcc +configure:4029: result: gcc +configure:4258: checking for C compiler version +configure:4267: gcc --version >&5 +gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-14) +Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -configure:4266: $? = 0 -configure:4255: /opt/psi/Programming/gcc/10.4.0/bin/gcc -v >&5 +configure:4278: $? = 0 +configure:4267: gcc -v >&5 Using built-in specs. -COLLECT_GCC=/opt/psi/Programming/gcc/10.4.0/bin/gcc -COLLECT_LTO_WRAPPER=/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/10.4.0/lto-wrapper -Target: x86_64-pc-linux-gnu -Configured with: /opt/psi/var/tmp/gsell/gcc-10.4.0/src/configure --prefix=/opt/psi/Programming/gcc/10.4.0 --enable-languages=c,c++,objc,obj-c++,lto,fortran,go --with-gmp=/opt/psi/Libraries/gmp/6.2.1 --with-mpfr=/opt/psi/Libraries/mpfr/4.1.0 --with-mpc=/opt/psi/Libraries/mpc/1.2.1 --enable-lto --disable-multilib --with-pkgversion=''\''PSI Environment Module'\''' --with-build-config=bootstrap-debug +COLLECT_GCC=gcc +COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper +OFFLOAD_TARGET_NAMES=nvptx-none +OFFLOAD_TARGET_DEFAULT=1 +Target: x86_64-redhat-linux +Configured with: ../configure --enable-bootstrap --enable-host-pie --enable-host-bind-now --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --enable-initfini-array --without-isl --enable-multilib --with-linker-hash-style=gnu --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_64=x86-64-v2 --with-arch_32=x86-64 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 Thread model: posix -Supported LTO compression algorithms: zlib -gcc version 10.4.0 ('PSI Environment Module') -configure:4266: $? = 0 -configure:4255: /opt/psi/Programming/gcc/10.4.0/bin/gcc -V >&5 +Supported LTO compression algorithms: zlib zstd +gcc version 11.5.0 20240719 (Red Hat 11.5.0-14) (GCC) +... rest of stderr output deleted ... +configure:4278: $? = 0 +configure:4267: gcc -V >&5 gcc: error: unrecognized command-line option '-V' gcc: fatal error: no input files compilation terminated. -configure:4266: $? = 1 -configure:4255: /opt/psi/Programming/gcc/10.4.0/bin/gcc -qversion >&5 +configure:4278: $? = 1 +configure:4267: gcc -qversion >&5 gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. -configure:4266: $? = 1 -configure:4270: checking whether we are using the GNU C compiler -configure:4289: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c conftest.c >&5 -configure:4289: $? = 0 -configure:4298: result: yes -configure:4307: checking whether /opt/psi/Programming/gcc/10.4.0/bin/gcc accepts -g -configure:4327: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g conftest.c >&5 -configure:4327: $? = 0 -configure:4368: result: yes -configure:4385: checking for /opt/psi/Programming/gcc/10.4.0/bin/gcc option to accept ISO C89 -configure:4448: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:4448: $? = 0 -configure:4461: result: none needed -configure:4486: checking whether /opt/psi/Programming/gcc/10.4.0/bin/gcc understands -c and -o together -configure:4508: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c conftest.c -o conftest2.o -configure:4511: $? = 0 -configure:4508: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c conftest.c -o conftest2.o -configure:4511: $? = 0 -configure:4523: result: yes -configure:4542: checking dependency style of /opt/psi/Programming/gcc/10.4.0/bin/gcc -configure:4653: result: gcc3 -configure:4668: checking for a sed that does not truncate output -configure:4732: result: /bin/sed -configure:4750: checking for grep that handles long lines and -e -configure:4808: result: /bin/grep -configure:4813: checking for egrep -configure:4875: result: /bin/grep -E -configure:4880: checking for fgrep -configure:4942: result: /bin/grep -F -configure:4977: checking for ld used by /opt/psi/Programming/gcc/10.4.0/bin/gcc -configure:5044: result: /bin/ld -configure:5051: checking if the linker (/bin/ld) is GNU ld -configure:5066: result: yes -configure:5078: checking for BSD- or MS-compatible name lister (nm) -configure:5132: result: /bin/nm -B -configure:5262: checking the name lister (/bin/nm -B) interface -configure:5269: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c -g -O2 conftest.cpp >&5 -configure:5272: /bin/nm -B "conftest.o" -configure:5275: output +configure:4278: $? = 1 +configure:4282: checking whether we are using the GNU C compiler +configure:4301: gcc -c conftest.c >&5 +configure:4301: $? = 0 +configure:4310: result: yes +configure:4319: checking whether gcc accepts -g +configure:4339: gcc -c -g conftest.c >&5 +configure:4339: $? = 0 +configure:4380: result: yes +configure:4397: checking for gcc option to accept ISO C89 +configure:4460: gcc -c -g -O2 conftest.c >&5 +configure:4460: $? = 0 +configure:4473: result: none needed +configure:4498: checking whether gcc understands -c and -o together +configure:4520: gcc -c conftest.c -o conftest2.o +configure:4523: $? = 0 +configure:4520: gcc -c conftest.c -o conftest2.o +configure:4523: $? = 0 +configure:4535: result: yes +configure:4554: checking dependency style of gcc +configure:4665: result: gcc3 +configure:4680: checking for a sed that does not truncate output +configure:4744: result: /usr/bin/sed +configure:4762: checking for grep that handles long lines and -e +configure:4820: result: /usr/bin/grep +configure:4825: checking for egrep +configure:4887: result: /usr/bin/grep -E +configure:4892: checking for fgrep +configure:4954: result: /usr/bin/grep -F +configure:4989: checking for ld used by gcc +configure:5056: result: /usr/bin/ld +configure:5063: checking if the linker (/usr/bin/ld) is GNU ld +configure:5078: result: yes +configure:5090: checking for BSD- or MS-compatible name lister (nm) +configure:5144: result: /usr/bin/nm -B +configure:5274: checking the name lister (/usr/bin/nm -B) interface +configure:5281: g++ -c -g -O2 conftest.cpp >&5 +configure:5284: /usr/bin/nm -B "conftest.o" +configure:5287: output 0000000000000000 B some_variable -configure:5282: result: BSD nm -configure:5285: checking whether ln -s works -configure:5289: result: yes -configure:5297: checking the maximum length of command line arguments -configure:5428: result: 1572864 -configure:5476: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format -configure:5516: result: func_convert_file_noop -configure:5523: checking how to convert x86_64-pc-linux-gnu file names to toolchain format -configure:5543: result: func_convert_file_noop -configure:5550: checking for /bin/ld option to reload object files -configure:5557: result: -r -configure:5631: checking for objdump -configure:5647: found /bin/objdump -configure:5658: result: objdump -configure:5690: checking how to recognize dependent libraries -configure:5890: result: pass_all -configure:5975: checking for dlltool -configure:6005: result: no -configure:6035: checking how to associate runtime and link libraries -configure:6062: result: printf %s\n -configure:6123: checking for ar -configure:6139: found /bin/ar -configure:6150: result: ar -configure:6187: checking for archiver @FILE support -configure:6204: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c -g -O2 conftest.cpp >&5 -configure:6204: $? = 0 -configure:6207: ar cru libconftest.a @conftest.lst >&5 -configure:6210: $? = 0 -configure:6215: ar cru libconftest.a @conftest.lst >&5 +configure:5294: result: BSD nm +configure:5297: checking whether ln -s works +configure:5301: result: yes +configure:5309: checking the maximum length of command line arguments +configure:5440: result: 1572864 +configure:5488: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format +configure:5528: result: func_convert_file_noop +configure:5535: checking how to convert x86_64-pc-linux-gnu file names to toolchain format +configure:5555: result: func_convert_file_noop +configure:5562: checking for /usr/bin/ld option to reload object files +configure:5569: result: -r +configure:5643: checking for objdump +configure:5659: found /usr/bin/objdump +configure:5670: result: objdump +configure:5702: checking how to recognize dependent libraries +configure:5902: result: pass_all +configure:5987: checking for dlltool +configure:6017: result: no +configure:6047: checking how to associate runtime and link libraries +configure:6074: result: printf %s\n +configure:6135: checking for ar +configure:6151: found /usr/bin/ar +configure:6162: result: ar +configure:6199: checking for archiver @FILE support +configure:6216: g++ -c -g -O2 conftest.cpp >&5 +configure:6216: $? = 0 +configure:6219: ar cru libconftest.a @conftest.lst >&5 +configure:6222: $? = 0 +configure:6227: ar cru libconftest.a @conftest.lst >&5 ar: conftest.o: No such file or directory -configure:6218: $? = 1 -configure:6230: result: @ -configure:6288: checking for strip -configure:6304: found /bin/strip -configure:6315: result: strip -configure:6387: checking for ranlib -configure:6403: found /bin/ranlib -configure:6414: result: ranlib -configure:6516: checking command to parse /bin/nm -B output from /opt/psi/Programming/gcc/10.4.0/bin/gcc object -configure:6669: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c -g -O2 conftest.cpp >&5 -configure:6672: $? = 0 -configure:6676: /bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm -configure:6679: $? = 0 -configure:6745: /opt/psi/Programming/gcc/10.4.0/bin/g++ -o conftest -g -O2 conftest.cpp conftstm.o >&5 -configure:6748: $? = 0 -configure:6786: result: ok -configure:6833: checking for sysroot -configure:6863: result: no -configure:6870: checking for a working dd -configure:6908: result: /bin/dd -configure:6912: checking how to truncate binary pipes -configure:6927: result: /bin/dd bs=4096 count=1 -configure:7064: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c -g -O2 conftest.cpp >&5 -configure:7067: $? = 0 -configure:7257: checking for mt -configure:7287: result: no -configure:7307: checking if : is a manifest tool -configure:7313: : '-?' -configure:7321: result: no -configure:7998: checking how to run the C preprocessor -configure:8029: /opt/psi/Programming/gcc/10.4.0/bin/gcc -E conftest.c -configure:8029: $? = 0 -configure:8043: /opt/psi/Programming/gcc/10.4.0/bin/gcc -E conftest.c +configure:6230: $? = 1 +configure:6242: result: @ +configure:6300: checking for strip +configure:6316: found /usr/bin/strip +configure:6327: result: strip +configure:6399: checking for ranlib +configure:6415: found /usr/bin/ranlib +configure:6426: result: ranlib +configure:6528: checking command to parse /usr/bin/nm -B output from gcc object +configure:6681: g++ -c -g -O2 conftest.cpp >&5 +configure:6684: $? = 0 +configure:6688: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm +configure:6691: $? = 0 +configure:6757: g++ -o conftest -g -O2 conftest.cpp conftstm.o >&5 +configure:6760: $? = 0 +configure:6798: result: ok +configure:6845: checking for sysroot +configure:6875: result: no +configure:6882: checking for a working dd +configure:6920: result: /usr/bin/dd +configure:6924: checking how to truncate binary pipes +configure:6939: result: /usr/bin/dd bs=4096 count=1 +configure:7076: g++ -c -g -O2 conftest.cpp >&5 +configure:7079: $? = 0 +configure:7269: checking for mt +configure:7299: result: no +configure:7319: checking if : is a manifest tool +configure:7325: : '-?' +configure:7333: result: no +configure:8010: checking how to run the C preprocessor +configure:8041: gcc -E conftest.c +configure:8041: $? = 0 +configure:8055: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. -configure:8043: $? = 1 +configure:8055: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "CAFE" @@ -299,15 +294,15 @@ configure: failed program was: | #define VERSION "1.22.0" | /* end confdefs.h. */ | #include -configure:8068: result: /opt/psi/Programming/gcc/10.4.0/bin/gcc -E -configure:8088: /opt/psi/Programming/gcc/10.4.0/bin/gcc -E conftest.c -configure:8088: $? = 0 -configure:8102: /opt/psi/Programming/gcc/10.4.0/bin/gcc -E conftest.c +configure:8080: result: gcc -E +configure:8100: gcc -E conftest.c +configure:8100: $? = 0 +configure:8114: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. -configure:8102: $? = 1 +configure:8114: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "CAFE" @@ -320,106 +315,106 @@ configure: failed program was: | #define VERSION "1.22.0" | /* end confdefs.h. */ | #include -configure:8131: checking for ANSI C header files -configure:8151: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:8151: $? = 0 -configure:8224: /opt/psi/Programming/gcc/10.4.0/bin/gcc -o conftest -g -O2 conftest.c >&5 -configure:8224: $? = 0 -configure:8224: ./conftest -configure:8224: $? = 0 -configure:8235: result: yes -configure:8248: checking for sys/types.h -configure:8248: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:8248: $? = 0 -configure:8248: result: yes -configure:8248: checking for sys/stat.h -configure:8248: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:8248: $? = 0 -configure:8248: result: yes -configure:8248: checking for stdlib.h -configure:8248: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:8248: $? = 0 -configure:8248: result: yes -configure:8248: checking for string.h -configure:8248: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:8248: $? = 0 -configure:8248: result: yes -configure:8248: checking for memory.h -configure:8248: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:8248: $? = 0 -configure:8248: result: yes -configure:8248: checking for strings.h -configure:8248: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:8248: $? = 0 -configure:8248: result: yes -configure:8248: checking for inttypes.h -configure:8248: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:8248: $? = 0 -configure:8248: result: yes -configure:8248: checking for stdint.h -configure:8248: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:8248: $? = 0 -configure:8248: result: yes -configure:8248: checking for unistd.h -configure:8248: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:8248: $? = 0 -configure:8248: result: yes -configure:8262: checking for dlfcn.h -configure:8262: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:8262: $? = 0 -configure:8262: result: yes -configure:8528: checking for objdir -configure:8543: result: .libs -configure:8807: checking if /opt/psi/Programming/gcc/10.4.0/bin/gcc supports -fno-rtti -fno-exceptions -configure:8825: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 +configure:8143: checking for ANSI C header files +configure:8163: gcc -c -g -O2 conftest.c >&5 +configure:8163: $? = 0 +configure:8236: gcc -o conftest -g -O2 conftest.c >&5 +configure:8236: $? = 0 +configure:8236: ./conftest +configure:8236: $? = 0 +configure:8247: result: yes +configure:8260: checking for sys/types.h +configure:8260: gcc -c -g -O2 conftest.c >&5 +configure:8260: $? = 0 +configure:8260: result: yes +configure:8260: checking for sys/stat.h +configure:8260: gcc -c -g -O2 conftest.c >&5 +configure:8260: $? = 0 +configure:8260: result: yes +configure:8260: checking for stdlib.h +configure:8260: gcc -c -g -O2 conftest.c >&5 +configure:8260: $? = 0 +configure:8260: result: yes +configure:8260: checking for string.h +configure:8260: gcc -c -g -O2 conftest.c >&5 +configure:8260: $? = 0 +configure:8260: result: yes +configure:8260: checking for memory.h +configure:8260: gcc -c -g -O2 conftest.c >&5 +configure:8260: $? = 0 +configure:8260: result: yes +configure:8260: checking for strings.h +configure:8260: gcc -c -g -O2 conftest.c >&5 +configure:8260: $? = 0 +configure:8260: result: yes +configure:8260: checking for inttypes.h +configure:8260: gcc -c -g -O2 conftest.c >&5 +configure:8260: $? = 0 +configure:8260: result: yes +configure:8260: checking for stdint.h +configure:8260: gcc -c -g -O2 conftest.c >&5 +configure:8260: $? = 0 +configure:8260: result: yes +configure:8260: checking for unistd.h +configure:8260: gcc -c -g -O2 conftest.c >&5 +configure:8260: $? = 0 +configure:8260: result: yes +configure:8274: checking for dlfcn.h +configure:8274: gcc -c -g -O2 conftest.c >&5 +configure:8274: $? = 0 +configure:8274: result: yes +configure:8540: checking for objdir +configure:8555: result: .libs +configure:8819: checking if gcc supports -fno-rtti -fno-exceptions +configure:8837: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C -configure:8829: $? = 0 -configure:8842: result: no -configure:9200: checking for /opt/psi/Programming/gcc/10.4.0/bin/gcc option to produce PIC -configure:9207: result: -fPIC -DPIC -configure:9215: checking if /opt/psi/Programming/gcc/10.4.0/bin/gcc PIC flag -fPIC -DPIC works -configure:9233: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 -configure:9237: $? = 0 -configure:9250: result: yes -configure:9279: checking if /opt/psi/Programming/gcc/10.4.0/bin/gcc static flag -static works -configure:9307: result: no -configure:9322: checking if /opt/psi/Programming/gcc/10.4.0/bin/gcc supports -c -o file.o -configure:9343: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 -configure:9347: $? = 0 -configure:9369: result: yes -configure:9377: checking if /opt/psi/Programming/gcc/10.4.0/bin/gcc supports -c -o file.o -configure:9424: result: yes -configure:9457: checking whether the /opt/psi/Programming/gcc/10.4.0/bin/gcc linker (/bin/ld -m elf_x86_64) supports shared libraries -configure:10716: result: yes -configure:10753: checking whether -lc should be explicitly linked in -configure:10761: /opt/psi/Programming/gcc/10.4.0/bin/gcc -c -g -O2 conftest.c >&5 -configure:10764: $? = 0 -configure:10779: /opt/psi/Programming/gcc/10.4.0/bin/gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 -configure:10782: $? = 0 -configure:10796: result: no -configure:10956: checking dynamic linker characteristics -configure:11537: /opt/psi/Programming/gcc/10.4.0/bin/gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 -configure:11537: $? = 0 -configure:11774: result: GNU/Linux ld.so -configure:11896: checking how to hardcode library paths into programs -configure:11921: result: immediate -configure:12469: checking whether stripping libraries is possible -configure:12474: result: yes -configure:12509: checking if libtool supports shared libraries -configure:12511: result: yes -configure:12514: checking whether to build shared libraries -configure:12539: result: yes -configure:12542: checking whether to build static libraries -configure:12546: result: yes -configure:12569: checking how to run the C++ preprocessor -configure:12596: /opt/psi/Programming/gcc/10.4.0/bin/g++ -E conftest.cpp -configure:12596: $? = 0 -configure:12610: /opt/psi/Programming/gcc/10.4.0/bin/g++ -E conftest.cpp +configure:8841: $? = 0 +configure:8854: result: no +configure:9212: checking for gcc option to produce PIC +configure:9219: result: -fPIC -DPIC +configure:9227: checking if gcc PIC flag -fPIC -DPIC works +configure:9245: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 +configure:9249: $? = 0 +configure:9262: result: yes +configure:9291: checking if gcc static flag -static works +configure:9319: result: no +configure:9334: checking if gcc supports -c -o file.o +configure:9355: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 +configure:9359: $? = 0 +configure:9381: result: yes +configure:9389: checking if gcc supports -c -o file.o +configure:9436: result: yes +configure:9469: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries +configure:10728: result: yes +configure:10765: checking whether -lc should be explicitly linked in +configure:10773: gcc -c -g -O2 conftest.c >&5 +configure:10776: $? = 0 +configure:10791: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 +configure:10794: $? = 0 +configure:10808: result: no +configure:10968: checking dynamic linker characteristics +configure:11549: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 +configure:11549: $? = 0 +configure:11789: result: GNU/Linux ld.so +configure:11911: checking how to hardcode library paths into programs +configure:11936: result: immediate +configure:12484: checking whether stripping libraries is possible +configure:12489: result: yes +configure:12524: checking if libtool supports shared libraries +configure:12526: result: yes +configure:12529: checking whether to build shared libraries +configure:12554: result: yes +configure:12557: checking whether to build static libraries +configure:12561: result: yes +configure:12584: checking how to run the C++ preprocessor +configure:12611: g++ -E conftest.cpp +configure:12611: $? = 0 +configure:12625: g++ -E conftest.cpp conftest.cpp:23:10: fatal error: ac_nonexistent.h: No such file or directory 23 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. -configure:12610: $? = 1 +configure:12625: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "CAFE" @@ -444,15 +439,15 @@ configure: failed program was: | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include -configure:12635: result: /opt/psi/Programming/gcc/10.4.0/bin/g++ -E -configure:12655: /opt/psi/Programming/gcc/10.4.0/bin/g++ -E conftest.cpp -configure:12655: $? = 0 -configure:12669: /opt/psi/Programming/gcc/10.4.0/bin/g++ -E conftest.cpp +configure:12650: result: g++ -E +configure:12670: g++ -E conftest.cpp +configure:12670: $? = 0 +configure:12684: g++ -E conftest.cpp conftest.cpp:23:10: fatal error: ac_nonexistent.h: No such file or directory 23 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. -configure:12669: $? = 1 +configure:12684: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "CAFE" @@ -477,82 +472,82 @@ configure: failed program was: | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include -configure:12831: checking for ld used by /opt/psi/Programming/gcc/10.4.0/bin/g++ -configure:12898: result: /bin/ld -m elf_x86_64 -configure:12905: checking if the linker (/bin/ld -m elf_x86_64) is GNU ld -configure:12920: result: yes -configure:12975: checking whether the /opt/psi/Programming/gcc/10.4.0/bin/g++ linker (/bin/ld -m elf_x86_64) supports shared libraries -configure:14048: result: yes -configure:14084: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c -g -O2 conftest.cpp >&5 -configure:14087: $? = 0 -configure:14568: checking for /opt/psi/Programming/gcc/10.4.0/bin/g++ option to produce PIC -configure:14575: result: -fPIC -DPIC -configure:14583: checking if /opt/psi/Programming/gcc/10.4.0/bin/g++ PIC flag -fPIC -DPIC works -configure:14601: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5 -configure:14605: $? = 0 -configure:14618: result: yes -configure:14641: checking if /opt/psi/Programming/gcc/10.4.0/bin/g++ static flag -static works -configure:14669: result: no -configure:14681: checking if /opt/psi/Programming/gcc/10.4.0/bin/g++ supports -c -o file.o -configure:14702: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 -configure:14706: $? = 0 -configure:14728: result: yes -configure:14733: checking if /opt/psi/Programming/gcc/10.4.0/bin/g++ supports -c -o file.o -configure:14780: result: yes -configure:14810: checking whether the /opt/psi/Programming/gcc/10.4.0/bin/g++ linker (/bin/ld -m elf_x86_64) supports shared libraries -configure:14850: result: yes -configure:14991: checking dynamic linker characteristics -configure:15736: result: GNU/Linux ld.so -configure:15801: checking how to hardcode library paths into programs -configure:15826: result: immediate -configure:16051: checking cadef.h usability -configure:16051: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c -g -O2 -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc conftest.cpp >&5 -configure:16051: $? = 0 -configure:16051: result: yes -configure:16051: checking cadef.h presence -configure:16051: /opt/psi/Programming/gcc/10.4.0/bin/g++ -E -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc conftest.cpp -configure:16051: $? = 0 -configure:16051: result: yes -configure:16051: checking for cadef.h -configure:16051: result: yes -configure:16070: checking epicsTypes.h usability -configure:16070: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c -g -O2 -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc conftest.cpp >&5 -configure:16070: $? = 0 -configure:16070: result: yes -configure:16070: checking epicsTypes.h presence -configure:16070: /opt/psi/Programming/gcc/10.4.0/bin/g++ -E -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc conftest.cpp -configure:16070: $? = 0 -configure:16070: result: yes -configure:16070: checking for epicsTypes.h -configure:16070: result: yes -configure:16087: checking for main in -lca -configure:16106: /opt/psi/Programming/gcc/10.4.0/bin/g++ -o conftest -g -O2 -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 conftest.cpp -lca >&5 -/bin/ld: warning: -z nodefs ignored. -configure:16106: $? = 0 -configure:16115: result: yes -configure:16128: checking for main in -lCom -configure:16147: /opt/psi/Programming/gcc/10.4.0/bin/g++ -o conftest -g -O2 -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 conftest.cpp -lCom >&5 -/bin/ld: warning: -z nodefs ignored. -configure:16147: $? = 0 -configure:16156: result: yes -configure:16169: checking for main in -ldl -configure:16188: /opt/psi/Programming/gcc/10.4.0/bin/g++ -o conftest -g -O2 -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 conftest.cpp -ldl >&5 -/bin/ld: warning: -z nodefs ignored. -configure:16188: $? = 0 -configure:16197: result: yes -configure:16402: checking multi_index_container.hpp usability -configure:16402: /opt/psi/Programming/gcc/10.4.0/bin/g++ -c -g -O2 -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -I/opt/gfa/cafe/boost/boost_1_61_0/include/boost -I/opt/gfa/cafe/boost/boost_1_61_0/include conftest.cpp >&5 -configure:16402: $? = 0 -configure:16402: result: yes -configure:16402: checking multi_index_container.hpp presence -configure:16402: /opt/psi/Programming/gcc/10.4.0/bin/g++ -E -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -I/opt/gfa/cafe/boost/boost_1_61_0/include/boost -I/opt/gfa/cafe/boost/boost_1_61_0/include conftest.cpp -configure:16402: $? = 0 -configure:16402: result: yes -configure:16402: checking for multi_index_container.hpp -configure:16402: result: yes -configure:18163: checking that generated files are newer than configure -configure:18169: result: done -configure:18208: creating ./config.status +configure:12846: checking for ld used by g++ +configure:12913: result: /usr/bin/ld -m elf_x86_64 +configure:12920: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld +configure:12935: result: yes +configure:12990: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries +configure:14063: result: yes +configure:14099: g++ -c -g -O2 conftest.cpp >&5 +configure:14102: $? = 0 +configure:14583: checking for g++ option to produce PIC +configure:14590: result: -fPIC -DPIC +configure:14598: checking if g++ PIC flag -fPIC -DPIC works +configure:14616: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5 +configure:14620: $? = 0 +configure:14633: result: yes +configure:14656: checking if g++ static flag -static works +configure:14684: result: no +configure:14696: checking if g++ supports -c -o file.o +configure:14717: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 +configure:14721: $? = 0 +configure:14743: result: yes +configure:14748: checking if g++ supports -c -o file.o +configure:14795: result: yes +configure:14825: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries +configure:14865: result: yes +configure:15006: checking dynamic linker characteristics +configure:15754: result: GNU/Linux ld.so +configure:15819: checking how to hardcode library paths into programs +configure:15844: result: immediate +configure:16069: checking cadef.h usability +configure:16069: g++ -c -g -O2 -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc conftest.cpp >&5 +configure:16069: $? = 0 +configure:16069: result: yes +configure:16069: checking cadef.h presence +configure:16069: g++ -E -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc conftest.cpp +configure:16069: $? = 0 +configure:16069: result: yes +configure:16069: checking for cadef.h +configure:16069: result: yes +configure:16088: checking epicsTypes.h usability +configure:16088: g++ -c -g -O2 -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc conftest.cpp >&5 +configure:16088: $? = 0 +configure:16088: result: yes +configure:16088: checking epicsTypes.h presence +configure:16088: g++ -E -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc conftest.cpp +configure:16088: $? = 0 +configure:16088: result: yes +configure:16088: checking for epicsTypes.h +configure:16088: result: yes +configure:16105: checking for main in -lca +configure:16124: g++ -o conftest -g -O2 -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 conftest.cpp -lca >&5 +/usr/bin/ld: warning: -z nodefs ignored +configure:16124: $? = 0 +configure:16133: result: yes +configure:16146: checking for main in -lCom +configure:16165: g++ -o conftest -g -O2 -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 conftest.cpp -lCom >&5 +/usr/bin/ld: warning: -z nodefs ignored +configure:16165: $? = 0 +configure:16174: result: yes +configure:16187: checking for main in -ldl +configure:16206: g++ -o conftest -g -O2 -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 conftest.cpp -ldl >&5 +/usr/bin/ld: warning: -z nodefs ignored +configure:16206: $? = 0 +configure:16215: result: yes +configure:16420: checking multi_index_container.hpp usability +configure:16420: g++ -c -g -O2 -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -I/psi.ch/project/cafe/bin/boost/boost_1_91_0/boost -I/psi.ch/project/cafe/bin/boost/boost_1_91_0 conftest.cpp >&5 +configure:16420: $? = 0 +configure:16420: result: yes +configure:16420: checking multi_index_container.hpp presence +configure:16420: g++ -E -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -I/psi.ch/project/cafe/bin/boost/boost_1_91_0/boost -I/psi.ch/project/cafe/bin/boost/boost_1_91_0 conftest.cpp +configure:16420: $? = 0 +configure:16420: result: yes +configure:16420: checking for multi_index_container.hpp +configure:16420: result: yes +configure:18173: checking that generated files are newer than configure +configure:18179: result: done +configure:18218: creating ./config.status ## ---------------- ## ## Cache variables. ## @@ -563,8 +558,8 @@ ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= -ac_cv_env_CC_set=set -ac_cv_env_CC_value=/opt/psi/Programming/gcc/10.4.0/bin/gcc +ac_cv_env_CC_set= +ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= @@ -575,8 +570,8 @@ ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= -ac_cv_env_CXX_set=set -ac_cv_env_CXX_value=/opt/psi/Programming/gcc/10.4.0/bin/g++ +ac_cv_env_CXX_set= +ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= @@ -608,18 +603,19 @@ ac_cv_lib_Com_main=yes ac_cv_lib_ca_main=yes ac_cv_lib_dl_main=yes ac_cv_objext=o -ac_cv_path_EGREP='/bin/grep -E' -ac_cv_path_FGREP='/bin/grep -F' -ac_cv_path_GREP=/bin/grep -ac_cv_path_SED=/bin/sed -ac_cv_path_install='/bin/install -c' -ac_cv_path_lt_DD=/bin/dd -ac_cv_path_mkdir=/bin/mkdir +ac_cv_path_EGREP='/usr/bin/grep -E' +ac_cv_path_FGREP='/usr/bin/grep -F' +ac_cv_path_GREP=/usr/bin/grep +ac_cv_path_SED=/usr/bin/sed +ac_cv_path_install='/usr/bin/install -c' +ac_cv_path_lt_DD=/usr/bin/dd +ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk -ac_cv_prog_CPP='/opt/psi/Programming/gcc/10.4.0/bin/gcc -E' -ac_cv_prog_CXXCPP='/opt/psi/Programming/gcc/10.4.0/bin/g++ -E' +ac_cv_prog_CPP='gcc -E' +ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_AR=ar -ac_cv_prog_ac_ct_CC=/opt/psi/Programming/gcc/10.4.0/bin/gcc +ac_cv_prog_ac_ct_CC=gcc +ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip @@ -639,9 +635,9 @@ lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs -lt_cv_path_LD=/bin/ld -lt_cv_path_LDCXX='/bin/ld -m elf_x86_64' -lt_cv_path_NM='/bin/nm -B' +lt_cv_path_LD=/usr/bin/ld +lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64' +lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes @@ -664,36 +660,36 @@ lt_cv_sys_global_symbol_to_import= lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop -lt_cv_truncate_bin='/bin/dd bs=4096 count=1' +lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1' ## ----------------- ## ## Output variables. ## ## ----------------- ## -ACLOCAL='${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing aclocal-1.16' +ACLOCAL='${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing aclocal-1.16' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' -AM_CPPFLAGS=' -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -I/opt/gfa/cafe/boost/boost_1_61_0/include/boost -I/opt/gfa/cafe/boost/boost_1_61_0/include' +AM_CPPFLAGS=' -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -I/psi.ch/project/cafe/bin/boost/boost_1_91_0/boost -I/psi.ch/project/cafe/bin/boost/boost_1_91_0' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' -AM_LDFLAGS=' -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64' +AM_LDFLAGS=' -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64' AM_V='$(V)' AR='ar' -AUTOCONF='${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing autoconf' -AUTOHEADER='${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing autoheader' -AUTOMAKE='${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing automake-1.16' +AUTOCONF='${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing autoconf' +AUTOHEADER='${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing autoheader' +AUTOMAKE='${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing automake-1.16' AWK='gawk' CAFE_CPPFLAGS='-I$(top_srcdir)/include ' -CC='/opt/psi/Programming/gcc/10.4.0/bin/gcc' +CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' -CPP='/opt/psi/Programming/gcc/10.4.0/bin/gcc -E' -CPPFLAGS=' -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -I/opt/gfa/cafe/boost/boost_1_61_0/include/boost -I/opt/gfa/cafe/boost/boost_1_61_0/include' -CXX='/opt/psi/Programming/gcc/10.4.0/bin/g++' -CXXCPP='/opt/psi/Programming/gcc/10.4.0/bin/g++ -E' +CPP='gcc -E' +CPPFLAGS=' -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -I/psi.ch/project/cafe/bin/boost/boost_1_91_0/boost -I/psi.ch/project/cafe/bin/boost/boost_1_91_0' +CXX='g++' +CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' @@ -705,10 +701,10 @@ DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' -EGREP='/bin/grep -E' +EGREP='/usr/bin/grep -E' EXEEXT='' -FGREP='/bin/grep -F' -GREP='/bin/grep' +FGREP='/usr/bin/grep -F' +GREP='/usr/bin/grep' HAVE_PYCAFE_EXT__FALSE='' HAVE_PYCAFE_EXT__TRUE='#' HAVE_PYTHON__FALSE='' @@ -719,8 +715,8 @@ INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' -LD='/bin/ld -m elf_x86_64' -LDFLAGS=' -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64' +LD='/usr/bin/ld -m elf_x86_64' +LDFLAGS=' -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' @@ -728,10 +724,10 @@ LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' -MAKEINFO='${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing makeinfo' +MAKEINFO='${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing makeinfo' MANIFEST_TOOL=':' -MKDIR_P='/bin/mkdir -p' -NM='/bin/nm -B' +MKDIR_P='/usr/bin/mkdir -p' +NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' @@ -746,14 +742,14 @@ PACKAGE_URL='' PACKAGE_VERSION='1.22.0' PATH_SEPARATOR=':' RANLIB='ranlib' -SED='/bin/sed' +SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' VERSION='1.22.0' ac_ct_AR='ar' -ac_ct_CC='/opt/psi/Programming/gcc/10.4.0/bin/gcc' -ac_ct_CXX='' +ac_ct_CC='gcc' +ac_ct_CXX='g++' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' @@ -787,8 +783,8 @@ host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' -install_sh='${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/install-sh' -libdir='/opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0/lib/RHEL8-x86_64' +install_sh='${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/install-sh' +libdir='/psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0/lib/RHEL9-x86_64' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' @@ -796,9 +792,10 @@ mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' -prefix='/opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0' +prefix='/psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0' program_transform_name='s,x,x,' psdir='${docdir}' +runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' @@ -854,20 +851,19 @@ generated by GNU Autoconf 2.69. Invocation command line was CONFIG_COMMANDS = $ ./config.status -on sls-lc8.psi.ch +on hipa-lc9.psi.ch -config.status:1168: creating makefile -config.status:1168: creating src/makefile -config.status:1168: creating include/makefile -config.status:1168: creating ./include/config.h -config.status:1349: ./include/config.h is unchanged -config.status:1397: executing depfiles commands -config.status:1474: cd src && sed -e '/# am--include-marker/d' makefile | make -f - am--depfiles -make[1]: Entering directory '/afs/psi.ch/project/cafe/gitea/CAFE/cpp/src' +config.status:1169: creating makefile +config.status:1169: creating src/makefile +config.status:1169: creating include/makefile +config.status:1169: creating ./include/config.h +config.status:1398: executing depfiles commands +config.status:1475: cd src && sed -e '/# am--include-marker/d' makefile | make -f - am--depfiles +make[1]: Entering directory '/psi.ch/.nfs-server/nfs32.psi.ch/8121/jan/gitea/CAFE/cpp/src' make[1]: Nothing to be done for 'am--depfiles'. -make[1]: Leaving directory '/afs/psi.ch/project/cafe/gitea/CAFE/cpp/src' -config.status:1479: $? = 0 -config.status:1397: executing libtool commands +make[1]: Leaving directory '/psi.ch/.nfs-server/nfs32.psi.ch/8121/jan/gitea/CAFE/cpp/src' +config.status:1480: $? = 0 +config.status:1398: executing libtool commands ## ---------------------- ## ## Running config.status. ## @@ -882,7 +878,7 @@ generated by GNU Autoconf 2.69. Invocation command line was CONFIG_COMMANDS = $ ./config.status ./include/config.h -on sls-lc8.psi.ch +on hipa-lc9.psi.ch -config.status:1168: creating ./include/config.h -config.status:1349: ./include/config.h is unchanged +config.status:1169: creating ./include/config.h +config.status:1350: ./include/config.h is unchanged diff --git a/config.status b/config.status index 5dffa3f..fdb1481 100755 --- a/config.status +++ b/config.status @@ -427,7 +427,7 @@ $config_commands Report bugs to ." -ac_cs_config="'--prefix=/opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0' '--libdir=/opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0/lib/RHEL8-x86_64' '--enable-boost-inc' '--enable-epics7' '--with-boost-inc=/opt/gfa/cafe/boost/boost_1_61_0/include' '--with-epics3=/usr/local/epics/base' '--with-python310=/opt/gfa/python-3.10/latest' '--with-python38=/opt/gfa/python-3.8/latest' '--with-python37=/opt/gfa/python-3.7/latest' '--with-python35=/opt/gfa/python-3.5/latest' '--with-python34=/opt/psi/Programming/psi-python34/2.1.0' '--with-qt5py310=/opt/gfa/python-3.10/latest' '--with-qt5py38=/opt/gfa/python-3.8/latest' '--with-qt5=/opt/gfa/python-3.7/latest' '--with-qt4=/opt/gfa/python-3.5/latest' '--with-qt4py34=/opt/psi/Programming/psi-python34/2.1.0' '--with-json=/opt/gfa/cafe/deps/zmq/json/jsoncpp-src-0.6.0-rc2' '--with-zeromq=/opt/gfa/cafe/deps/zmq/zeromq-4.2.3-gcc-6.3.0' '--with-curl=/opt/gfa/cafe/deps/zmq/curl-7.55.1' '--with-lz4=/opt/gfa/cafe/deps/zmq/lz4/lib' '--with-epics7=/usr/local/epics/base-7.0.9' 'CXX=/opt/psi/Programming/gcc/10.4.0/bin/g++' 'CC=/opt/psi/Programming/gcc/10.4.0/bin/gcc'" +ac_cs_config="'--prefix=/psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0' '--libdir=/psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0/lib/RHEL9-x86_64' '--enable-boost-inc' '--enable-epics7' '--with-boost-inc=/psi.ch/project/cafe/bin/boost/boost_1_91_0' '--with-epics3=/usr/local/epics/base' '--with-python310=/opt/gfa/python-3.10/latest' '--with-python38=/opt/gfa/python-3.8/latest' '--with-python37=/opt/gfa/python-3.7/latest' '--with-python35=/opt/gfa/python-3.5/latest' '--with-python34=/opt/psi/Programming/psi-python34/2.1.0' '--with-qt5py310=/opt/gfa/python-3.10/latest' '--with-qt5py38=/opt/gfa/python-3.8/latest' '--with-qt5=/opt/gfa/python-3.7/latest' '--with-qt4=/opt/gfa/python-3.5/latest' '--with-qt4py34=/opt/psi/Programming/psi-python34/2.1.0' '--with-json=/opt/gfa/cafe/deps/zmq/json/jsoncpp-src-0.6.0-rc2' '--with-zeromq=/opt/gfa/cafe/deps/zmq/zeromq-4.2.3-gcc-6.3.0' '--with-curl=/opt/gfa/cafe/deps/zmq/curl-7.55.1' '--with-lz4=/opt/gfa/cafe/deps/zmq/lz4/lib' '--with-epics7=/usr/local/epics/base-7.0.10'" ac_cs_version="\ CAFE config.status 1.22.0 configured by ./configure, generated by GNU Autoconf 2.69, @@ -437,10 +437,10 @@ Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." -ac_pwd='/afs/psi.ch/project/cafe/gitea/CAFE/cpp' +ac_pwd='/psi.ch/group/8121/jan/gitea/CAFE/cpp' srcdir='.' -INSTALL='/bin/install -c' -MKDIR_P='/bin/mkdir -p' +INSTALL='/usr/bin/install -c' +MKDIR_P='/usr/bin/mkdir -p' AWK='gawk' test -n "$AWK" || AWK=awk # The default lists apply if the user does not specify any file. @@ -519,7 +519,7 @@ if $ac_cs_silent; then fi if $ac_cs_recheck; then - set X /bin/sh './configure' '--prefix=/opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0' '--libdir=/opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0/lib/RHEL8-x86_64' '--enable-boost-inc' '--enable-epics7' '--with-boost-inc=/opt/gfa/cafe/boost/boost_1_61_0/include' '--with-epics3=/usr/local/epics/base' '--with-python310=/opt/gfa/python-3.10/latest' '--with-python38=/opt/gfa/python-3.8/latest' '--with-python37=/opt/gfa/python-3.7/latest' '--with-python35=/opt/gfa/python-3.5/latest' '--with-python34=/opt/psi/Programming/psi-python34/2.1.0' '--with-qt5py310=/opt/gfa/python-3.10/latest' '--with-qt5py38=/opt/gfa/python-3.8/latest' '--with-qt5=/opt/gfa/python-3.7/latest' '--with-qt4=/opt/gfa/python-3.5/latest' '--with-qt4py34=/opt/psi/Programming/psi-python34/2.1.0' '--with-json=/opt/gfa/cafe/deps/zmq/json/jsoncpp-src-0.6.0-rc2' '--with-zeromq=/opt/gfa/cafe/deps/zmq/zeromq-4.2.3-gcc-6.3.0' '--with-curl=/opt/gfa/cafe/deps/zmq/curl-7.55.1' '--with-lz4=/opt/gfa/cafe/deps/zmq/lz4/lib' '--with-epics7=/usr/local/epics/base-7.0.9' 'CXX=/opt/psi/Programming/gcc/10.4.0/bin/g++' 'CC=/opt/psi/Programming/gcc/10.4.0/bin/gcc' $ac_configure_extra_args --no-create --no-recursion + set X /bin/sh './configure' '--prefix=/psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0' '--libdir=/psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0/lib/RHEL9-x86_64' '--enable-boost-inc' '--enable-epics7' '--with-boost-inc=/psi.ch/project/cafe/bin/boost/boost_1_91_0' '--with-epics3=/usr/local/epics/base' '--with-python310=/opt/gfa/python-3.10/latest' '--with-python38=/opt/gfa/python-3.8/latest' '--with-python37=/opt/gfa/python-3.7/latest' '--with-python35=/opt/gfa/python-3.5/latest' '--with-python34=/opt/psi/Programming/psi-python34/2.1.0' '--with-qt5py310=/opt/gfa/python-3.10/latest' '--with-qt5py38=/opt/gfa/python-3.8/latest' '--with-qt5=/opt/gfa/python-3.7/latest' '--with-qt4=/opt/gfa/python-3.5/latest' '--with-qt4py34=/opt/psi/Programming/psi-python34/2.1.0' '--with-json=/opt/gfa/cafe/deps/zmq/json/jsoncpp-src-0.6.0-rc2' '--with-zeromq=/opt/gfa/cafe/deps/zmq/zeromq-4.2.3-gcc-6.3.0' '--with-curl=/opt/gfa/cafe/deps/zmq/curl-7.55.1' '--with-lz4=/opt/gfa/cafe/deps/zmq/lz4/lib' '--with-epics7=/usr/local/epics/base-7.0.10' $ac_configure_extra_args --no-create --no-recursion shift $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 CONFIG_SHELL='/bin/sh' @@ -565,13 +565,13 @@ host_os='linux-gnu' build_alias='' build='x86_64-pc-linux-gnu' build_os='linux-gnu' -SED='/bin/sed' -Xsed='/bin/sed -e 1s/^X//' -GREP='/bin/grep' -EGREP='/bin/grep -E' -FGREP='/bin/grep -F' -LD='/bin/ld -m elf_x86_64' -NM='/bin/nm -B' +SED='/usr/bin/sed' +Xsed='/usr/bin/sed -e 1s/^X//' +GREP='/usr/bin/grep' +EGREP='/usr/bin/grep -E' +FGREP='/usr/bin/grep -F' +LD='/usr/bin/ld -m elf_x86_64' +NM='/usr/bin/nm -B' LN_S='ln -s' max_cmd_len='1572864' ac_objext='o' @@ -599,9 +599,9 @@ old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib' old_postuninstall_cmds='' old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib' lock_old_archive_extraction='no' -CC='/opt/psi/Programming/gcc/10.4.0/bin/gcc' +CC='gcc' CFLAGS='-g -O2' -compiler='/opt/psi/Programming/gcc/10.4.0/bin/g++' +compiler='g++' GCC='yes' lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' @@ -611,7 +611,7 @@ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) lt_cv_nm_interface='BSD nm' nm_file_list_spec='@' lt_sysroot='' -lt_cv_truncate_bin='/bin/dd bs=4096 count=1' +lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1' objdir='.libs' MAGIC_CMD='file' lt_prog_compiler_no_builtin_flag=' -fno-builtin' @@ -678,8 +678,8 @@ postuninstall_cmds='' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' finish_eval='' hardcode_into_libs='yes' -sys_lib_search_path_spec='/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/lib/gcc/x86_64-pc-linux-gnu/10.4.0 /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/lib/gcc /opt/psi/Programming/gcc/10.4.0/lib64 /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/lib64 /lib64 /usr/lib64 /opt/psi/Programming/gcc/10.4.0/lib /opt/psi/Tools/HDFView/3.1.2/lib /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/lib /lib /usr/lib ' -configure_time_dlsearch_path='/lib /usr/lib /usr/lib64/atlas /usr/lib64/llvm17/lib/ /usr/lib/oracle/19.18/client64/lib /usr/lib64/tclx8.6 /usr/lib64/wine/ ' +sys_lib_search_path_spec='/usr/lib/gcc/x86_64-redhat-linux/11 /usr/lib64 /lib64 /usr/lib /lib ' +configure_time_dlsearch_path='/lib64 /usr/lib64 /lib /usr/lib /opt/caqtdm/lib/qt5 /opt/caqtdm/lib/qt5/designer /opt/caqtdm/lib/qt5/controlsystems /usr/local/epics/base-7.0.9/lib/RHEL9-x86_64 /usr/x86_64-w64-mingw32/lib/ /usr/lib/oracle/19.19/client64/lib /usr/lib64/pipewire-0.3/jack/ /usr/lib64/tclx8.6 ' configure_time_lt_sys_library_path='' hardcode_action='immediate' enable_dlopen='unknown' @@ -693,11 +693,11 @@ postdep_objects='' predeps='' postdeps='' compiler_lib_search_path='' -LD_CXX='/bin/ld -m elf_x86_64' +LD_CXX='/usr/bin/ld -m elf_x86_64' reload_flag_CXX=' -r' reload_cmds_CXX='$LD$reload_flag -o $output$reload_objs' old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib' -compiler_CXX='/opt/psi/Programming/gcc/10.4.0/bin/g++' +compiler_CXX='g++' GCC_CXX='yes' lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' lt_prog_compiler_pic_CXX=' -fPIC -DPIC' @@ -735,16 +735,16 @@ prelink_cmds_CXX='' postlink_cmds_CXX='' file_list_spec_CXX='' hardcode_action_CXX='immediate' -compiler_lib_search_dirs_CXX='/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0 /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc /opt/psi/Programming/gcc/10.4.0/lib64/../lib64 /opt/psi/Programming/gcc/10.4.0/lib/../lib64 /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0/../../../../lib64 /lib/../lib64 /usr/lib/../lib64 /opt/psi/Programming/gcc/10.4.0/lib64 /opt/psi/Programming/gcc/10.4.0/lib /opt/psi/Tools/HDFView/3.1.2/lib /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0/../../..' -predep_objects_CXX='/lib/../lib64/crti.o /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0/crtbeginS.o' -postdep_objects_CXX='/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0/crtendS.o /lib/../lib64/crtn.o' +compiler_lib_search_dirs_CXX='/usr/lib/gcc/x86_64-redhat-linux/11 /usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64 /lib/../lib64 /usr/lib/../lib64 /usr/lib/gcc/x86_64-redhat-linux/11/../../..' +predep_objects_CXX='/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/11/crtbeginS.o' +postdep_objects_CXX='/usr/lib/gcc/x86_64-redhat-linux/11/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crtn.o' predeps_CXX='' postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s' -compiler_lib_search_path_CXX='-L/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0 -L/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc -L/opt/psi/Programming/gcc/10.4.0/lib64/../lib64 -L/opt/psi/Programming/gcc/10.4.0/lib/../lib64 -L/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/psi/Programming/gcc/10.4.0/lib64 -L/opt/psi/Programming/gcc/10.4.0/lib -L/opt/psi/Tools/HDFView/3.1.2/lib -L/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0/../../..' +compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-redhat-linux/11 -L/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/11/../../..' -LTCC='/opt/psi/Programming/gcc/10.4.0/bin/gcc' +LTCC='gcc' LTCFLAGS='-g -O2' -compiler='/opt/psi/Programming/gcc/10.4.0/bin/gcc' +compiler='gcc' # A function that is used when there is no print builtin or printf. func_fallback_echo () @@ -883,12 +883,12 @@ S["HAVE_PYCAFE_EXT__FALSE"]="" S["HAVE_PYCAFE_EXT__TRUE"]="#" S["HAVE_PYTHON__FALSE"]="" S["HAVE_PYTHON__TRUE"]="#" -S["AM_LDFLAGS"]=" -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64" -S["AM_CPPFLAGS"]=" -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/ba"\ -"se-7.0.9/include/compiler/gcc -I/opt/gfa/cafe/boost/boost_1_61_0/include/boost -I/opt/gfa/cafe/boost/boost_1_61_0/include" +S["AM_LDFLAGS"]=" -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64" +S["AM_CPPFLAGS"]=" -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/"\ +"base-7.0.10/include/compiler/gcc -I/psi.ch/project/cafe/bin/boost/boost_1_91_0/boost -I/psi.ch/project/cafe/bin/boost/boost_1_91_0" S["CAFE_CPPFLAGS"]="-I$(top_srcdir)/include " -S["CXXCPP"]="/opt/psi/Programming/gcc/10.4.0/bin/g++ -E" -S["CPP"]="/opt/psi/Programming/gcc/10.4.0/bin/gcc -E" +S["CXXCPP"]="g++ -E" +S["CPP"]="gcc -E" S["LT_SYS_LIBRARY_PATH"]="" S["OTOOL64"]="" S["OTOOL"]="" @@ -902,20 +902,20 @@ S["AR"]="ar" S["DLLTOOL"]="false" S["OBJDUMP"]="objdump" S["LN_S"]="ln -s" -S["NM"]="/bin/nm -B" +S["NM"]="/usr/bin/nm -B" S["ac_ct_DUMPBIN"]="" S["DUMPBIN"]="" -S["LD"]="/bin/ld -m elf_x86_64" -S["FGREP"]="/bin/grep -F" -S["EGREP"]="/bin/grep -E" -S["GREP"]="/bin/grep" -S["SED"]="/bin/sed" +S["LD"]="/usr/bin/ld -m elf_x86_64" +S["FGREP"]="/usr/bin/grep -F" +S["EGREP"]="/usr/bin/grep -E" +S["GREP"]="/usr/bin/grep" +S["SED"]="/usr/bin/sed" S["am__fastdepCC_FALSE"]="#" S["am__fastdepCC_TRUE"]="" S["CCDEPMODE"]="depmode=gcc3" -S["ac_ct_CC"]="/opt/psi/Programming/gcc/10.4.0/bin/gcc" +S["ac_ct_CC"]="gcc" S["CFLAGS"]="-g -O2" -S["CC"]="/opt/psi/Programming/gcc/10.4.0/bin/gcc" +S["CC"]="gcc" S["host_os"]="linux-gnu" S["host_vendor"]="pc" S["host_cpu"]="x86_64" @@ -936,12 +936,12 @@ S["am__include"]="include" S["DEPDIR"]=".deps" S["OBJEXT"]="o" S["EXEEXT"]="" -S["ac_ct_CXX"]="" -S["CPPFLAGS"]=" -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/ba"\ -"se-7.0.9/include/compiler/gcc -I/opt/gfa/cafe/boost/boost_1_61_0/include/boost -I/opt/gfa/cafe/boost/boost_1_61_0/include" -S["LDFLAGS"]=" -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64" +S["ac_ct_CXX"]="g++" +S["CPPFLAGS"]=" -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/"\ +"base-7.0.10/include/compiler/gcc -I/psi.ch/project/cafe/bin/boost/boost_1_91_0/boost -I/psi.ch/project/cafe/bin/boost/boost_1_91_0" +S["LDFLAGS"]=" -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64" S["CXXFLAGS"]="-g -O2" -S["CXX"]="/opt/psi/Programming/gcc/10.4.0/bin/g++" +S["CXX"]="g++" S["AM_BACKSLASH"]="\\" S["AM_DEFAULT_VERBOSITY"]="1" S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)" @@ -953,15 +953,15 @@ S["am__leading_dot"]="." S["SET_MAKE"]="" S["AWK"]="gawk" S["mkdir_p"]="$(MKDIR_P)" -S["MKDIR_P"]="/bin/mkdir -p" +S["MKDIR_P"]="/usr/bin/mkdir -p" S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" S["STRIP"]="strip" -S["install_sh"]="${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/install-sh" -S["MAKEINFO"]="${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing makeinfo" -S["AUTOHEADER"]="${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing autoheader" -S["AUTOMAKE"]="${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing automake-1.16" -S["AUTOCONF"]="${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing autoconf" -S["ACLOCAL"]="${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing aclocal-1.16" +S["install_sh"]="${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/install-sh" +S["MAKEINFO"]="${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing makeinfo" +S["AUTOHEADER"]="${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing autoheader" +S["AUTOMAKE"]="${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing automake-1.16" +S["AUTOCONF"]="${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing autoconf" +S["ACLOCAL"]="${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing aclocal-1.16" S["VERSION"]="1.22.0" S["PACKAGE"]="cafe" S["CYGPATH_W"]="echo" @@ -979,7 +979,7 @@ S["ECHO_C"]="" S["DEFS"]="-DHAVE_CONFIG_H" S["mandir"]="${datarootdir}/man" S["localedir"]="${datarootdir}/locale" -S["libdir"]="/opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0/lib/RHEL8-x86_64" +S["libdir"]="/psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0/lib/RHEL9-x86_64" S["psdir"]="${docdir}" S["pdfdir"]="${docdir}" S["dvidir"]="${docdir}" @@ -988,6 +988,7 @@ S["infodir"]="${datarootdir}/info" S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" S["oldincludedir"]="/usr/include" S["includedir"]="${prefix}/include" +S["runstatedir"]="${localstatedir}/run" S["localstatedir"]="${prefix}/var" S["sharedstatedir"]="${prefix}/com" S["sysconfdir"]="${prefix}/etc" @@ -997,7 +998,7 @@ S["libexecdir"]="${exec_prefix}/libexec" S["sbindir"]="${exec_prefix}/sbin" S["bindir"]="${exec_prefix}/bin" S["program_transform_name"]="s,x,x," -S["prefix"]="/opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0" +S["prefix"]="/psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0" S["exec_prefix"]="${prefix}" S["PACKAGE_URL"]="" S["PACKAGE_BUGREPORT"]="Bug reports to: jan.chrin@psi.ch" @@ -1483,7 +1484,9 @@ $as_echo X/"$am_mf" | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "Something went wrong bootstrapping makefile fragments - for automatic dependency tracking. Try re-running configure with the + for automatic dependency tracking. If GNU make was not used, consider + re-running the configure script with MAKE=\"gmake\" (or whatever is + necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See \`config.log' for more details" "$LINENO" 5; } diff --git a/config.sub b/config.sub index 20f7cf2..b51fb8c 100755 --- a/config.sub +++ b/config.sub @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2018 Free Software Foundation, Inc. -timestamp='2018-05-05' +timestamp='2018-08-29' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -110,16 +110,20 @@ case $# in exit 1;; esac -# Spilt fields of configuration type +# Split fields of configuration type IFS="-" read -r field1 field2 field3 field4 <&2 + exit 1 + ;; *-*-*-*) basic_machine=$field1-$field2 - os=-$field3-$field4 + os=$field3-$field4 ;; *-*-*) # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two @@ -132,1227 +136,1133 @@ case $1 in | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ | storm-chaos* | os2-emx* | rtmk-nova*) basic_machine=$field1 - os=-$maybe_os + os=$maybe_os ;; android-linux) basic_machine=$field1-unknown - os=-linux-android + os=linux-android ;; *) basic_machine=$field1-$field2 - os=-$field3 + os=$field3 ;; esac ;; *-*) - basic_machine=$field1 - os=-$field2 + # A lone config we happen to match not fitting any patern + case $field1-$field2 in + decstation-3100) + basic_machine=mips-dec + os= + ;; + *-*) + # Second component is usually, but not always the OS + case $field2 in + # Prevent following clause from handling this valid os + sun*os*) + basic_machine=$field1 + os=$field2 + ;; + # Manufacturers + dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \ + | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \ + | unicom* | ibm* | next | hp | isi* | apollo | altos* \ + | convergent* | ncr* | news | 32* | 3600* | 3100* \ + | hitachi* | c[123]* | convex* | sun | crds | omron* | dg \ + | ultra | tti* | harris | dolphin | highlevel | gould \ + | cbm | ns | masscomp | apple | axis | knuth | cray \ + | microblaze* | sim | cisco \ + | oki | wec | wrs | winbond) + basic_machine=$field1-$field2 + os= + ;; + *) + basic_machine=$field1 + os=$field2 + ;; + esac + ;; + esac ;; *) - basic_machine=$1 - os= + # Convert single-component short-hands not valid as part of + # multi-component configurations. + case $field1 in + 386bsd) + basic_machine=i386-pc + os=bsd + ;; + a29khif) + basic_machine=a29k-amd + os=udi + ;; + adobe68k) + basic_machine=m68010-adobe + os=scout + ;; + alliant) + basic_machine=fx80-alliant + os= + ;; + altos | altos3068) + basic_machine=m68k-altos + os= + ;; + am29k) + basic_machine=a29k-none + os=bsd + ;; + amdahl) + basic_machine=580-amdahl + os=sysv + ;; + amiga) + basic_machine=m68k-unknown + os= + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=bsd + ;; + aros) + basic_machine=i386-pc + os=aros + ;; + aux) + basic_machine=m68k-apple + os=aux + ;; + balance) + basic_machine=ns32k-sequent + os=dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=linux + ;; + cegcc) + basic_machine=arm-unknown + os=cegcc + ;; + convex-c1) + basic_machine=c1-convex + os=bsd + ;; + convex-c2) + basic_machine=c2-convex + os=bsd + ;; + convex-c32) + basic_machine=c32-convex + os=bsd + ;; + convex-c34) + basic_machine=c34-convex + os=bsd + ;; + convex-c38) + basic_machine=c38-convex + os=bsd + ;; + cray) + basic_machine=j90-cray + os=unicos + ;; + crds | unos) + basic_machine=m68k-crds + os= + ;; + da30) + basic_machine=m68k-da30 + os= + ;; + decstation | pmax | pmin | dec3100 | decstatn) + basic_machine=mips-dec + os= + ;; + delta88) + basic_machine=m88k-motorola + os=sysv3 + ;; + dicos) + basic_machine=i686-pc + os=dicos + ;; + djgpp) + basic_machine=i586-pc + os=msdosdjgpp + ;; + ebmon29k) + basic_machine=a29k-amd + os=ebmon + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=ose + ;; + gmicro) + basic_machine=tron-gmicro + os=sysv + ;; + go32) + basic_machine=i386-pc + os=go32 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=hms + ;; + harris) + basic_machine=m88k-harris + os=sysv3 + ;; + hp300) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=hpux + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=proelf + ;; + i386mach) + basic_machine=i386-mach + os=mach + ;; + vsta) + basic_machine=i386-pc + os=vsta + ;; + isi68 | isi) + basic_machine=m68k-isi + os=sysv + ;; + m68knommu) + basic_machine=m68k-unknown + os=linux + ;; + magnum | m3230) + basic_machine=mips-mips + os=sysv + ;; + merlin) + basic_machine=ns32k-utek + os=sysv + ;; + mingw64) + basic_machine=x86_64-pc + os=mingw64 + ;; + mingw32) + basic_machine=i686-pc + os=mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=mingw32ce + ;; + monitor) + basic_machine=m68k-rom68k + os=coff + ;; + morphos) + basic_machine=powerpc-unknown + os=morphos + ;; + moxiebox) + basic_machine=moxie-unknown + os=moxiebox + ;; + msdos) + basic_machine=i386-pc + os=msdos + ;; + msys) + basic_machine=i686-pc + os=msys + ;; + mvs) + basic_machine=i370-ibm + os=mvs + ;; + nacl) + basic_machine=le32-unknown + os=nacl + ;; + ncr3000) + basic_machine=i486-ncr + os=sysv4 + ;; + netbsd386) + basic_machine=i386-pc + os=netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=newsos + ;; + news1000) + basic_machine=m68030-sony + os=newsos + ;; + necv70) + basic_machine=v70-nec + os=sysv + ;; + nh3000) + basic_machine=m68k-harris + os=cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=cxux + ;; + nindy960) + basic_machine=i960-intel + os=nindy + ;; + mon960) + basic_machine=i960-intel + os=mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=nonstopux + ;; + os400) + basic_machine=powerpc-ibm + os=os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=ose + ;; + os68k) + basic_machine=m68k-none + os=os68k + ;; + paragon) + basic_machine=i860-intel + os=osf + ;; + parisc) + basic_machine=hppa-unknown + os=linux + ;; + pw32) + basic_machine=i586-unknown + os=pw32 + ;; + rdos | rdos64) + basic_machine=x86_64-pc + os=rdos + ;; + rdos32) + basic_machine=i386-pc + os=rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=coff + ;; + sa29200) + basic_machine=a29k-amd + os=udi + ;; + sei) + basic_machine=mips-sei + os=seiux + ;; + sequent) + basic_machine=i386-sequent + os= + ;; + sps7) + basic_machine=m68k-bull + os=sysv2 + ;; + st2000) + basic_machine=m68k-tandem + os= + ;; + stratus) + basic_machine=i860-stratus + os=sysv4 + ;; + sun2) + basic_machine=m68000-sun + os= + ;; + sun2os3) + basic_machine=m68000-sun + os=sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=sunos4 + ;; + sun3) + basic_machine=m68k-sun + os= + ;; + sun3os3) + basic_machine=m68k-sun + os=sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=sunos4 + ;; + sun4) + basic_machine=sparc-sun + os= + ;; + sun4os3) + basic_machine=sparc-sun + os=sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=solaris2 + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + os= + ;; + sv1) + basic_machine=sv1-cray + os=unicos + ;; + symmetry) + basic_machine=i386-sequent + os=dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=unicos + ;; + t90) + basic_machine=t90-cray + os=unicos + ;; + toad1) + basic_machine=pdp10-xkl + os=tops20 + ;; + tpf) + basic_machine=s390x-ibm + os=tpf + ;; + udi29k) + basic_machine=a29k-amd + os=udi + ;; + ultra3) + basic_machine=a29k-nyu + os=sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=none + ;; + vaxv) + basic_machine=vax-dec + os=sysv + ;; + vms) + basic_machine=vax-dec + os=vms + ;; + vxworks960) + basic_machine=i960-wrs + os=vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=vxworks + ;; + xbox) + basic_machine=i686-pc + os=mingw32 + ;; + ymp) + basic_machine=ymp-cray + os=unicos + ;; + *) + basic_machine=$1 + os= + ;; + esac ;; esac -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray | -microblaze*) - os= - basic_machine=$1 - ;; - -bluegene*) - os=-cnk - ;; - -sim | -cisco | -oki | -wec | -winbond) - os= - basic_machine=$1 - ;; - -scout) - ;; - -wrs) - os=-vxworks - basic_machine=$1 - ;; - -chorusos*) - os=-chorusos - basic_machine=$1 - ;; - -chorusrdb) - os=-chorusrdb - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco6) - os=-sco5v6 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco5) - os=-sco3.2v5 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco5v6*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -udk*) - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*178) - os=-lynxos178 - ;; - -lynx*5) - os=-lynxos5 - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` - ;; - -psos*) - os=-psos - ;; - -mint | -mint[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. +# Decode 1-component or ad-hoc basic machines case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - 1750a | 580 \ - | a29k \ - | aarch64 | aarch64_be \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ - | am33_2.0 \ - | arc | arceb \ - | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv6m | armv[78][arm] \ - | avr | avr32 \ - | ba \ - | be32 | be64 \ - | bfin \ - | c4x | c8051 | clipper | csky \ - | d10v | d30v | dlx | dsp16xx \ - | e2k | epiphany \ - | fido | fr30 | frv | ft32 \ - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | hexagon \ - | i370 | i860 | i960 | ia16 | ia64 \ - | ip2k | iq2000 \ - | k1om \ - | le32 | le64 \ - | lm32 \ - | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ - | mips | mipsbe | mipseb | mipsel | mipsle \ - | mips16 \ - | mips64 | mips64el \ - | mips64octeon | mips64octeonel \ - | mips64orion | mips64orionel \ - | mips64r5900 | mips64r5900el \ - | mips64vr | mips64vrel \ - | mips64vr4100 | mips64vr4100el \ - | mips64vr4300 | mips64vr4300el \ - | mips64vr5000 | mips64vr5000el \ - | mips64vr5900 | mips64vr5900el \ - | mipsisa32 | mipsisa32el \ - | mipsisa32r2 | mipsisa32r2el \ - | mipsisa32r6 | mipsisa32r6el \ - | mipsisa64 | mipsisa64el \ - | mipsisa64r2 | mipsisa64r2el \ - | mipsisa64r6 | mipsisa64r6el \ - | mipsisa64sb1 | mipsisa64sb1el \ - | mipsisa64sr71k | mipsisa64sr71kel \ - | mipsr5900 | mipsr5900el \ - | mipstx39 | mipstx39el \ - | mn10200 | mn10300 \ - | moxie \ - | mt \ - | msp430 \ - | nds32 | nds32le | nds32be \ - | nfp \ - | nios | nios2 | nios2eb | nios2el \ - | ns16k | ns32k \ - | open8 | or1k | or1knd | or32 \ - | pdp10 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle \ - | pru \ - | pyramid \ - | riscv32 | riscv64 \ - | rl78 | rx \ - | score \ - | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ - | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu \ - | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ - | ubicom32 \ - | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ - | visium \ - | wasm32 \ - | x86 | xc16x | xstormy16 | xtensa \ - | z8k | z80) - basic_machine=$basic_machine-unknown + # Here we handle the default manufacturer of certain CPU types. It is in + # some cases the only manufacturer, in others, it is the most popular. + w89k) + cpu=hppa1.1 + vendor=winbond ;; - c54x) - basic_machine=tic54x-unknown + op50n) + cpu=hppa1.1 + vendor=oki ;; - c55x) - basic_machine=tic55x-unknown + op60c) + cpu=hppa1.1 + vendor=oki ;; - c6x) - basic_machine=tic6x-unknown + ibm*) + cpu=i370 + vendor=ibm + ;; + orion105) + cpu=clipper + vendor=highlevel + ;; + mac | mpw | mac-mpw) + cpu=m68k + vendor=apple + ;; + pmac | pmac-mpw) + cpu=powerpc + vendor=apple + ;; + + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + cpu=m68000 + vendor=att + ;; + 3b*) + cpu=we32k + vendor=att + ;; + bluegene*) + cpu=powerpc + vendor=ibm + os=cnk + ;; + decsystem10* | dec10*) + cpu=pdp10 + vendor=dec + os=tops10 + ;; + decsystem20* | dec20*) + cpu=pdp10 + vendor=dec + os=tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + cpu=m68k + vendor=motorola + ;; + dpx2*) + cpu=m68k + vendor=bull + os=sysv3 + ;; + encore | umax | mmax) + cpu=ns32k + vendor=encore + ;; + elxsi) + cpu=elxsi + vendor=elxsi + os=${os:-bsd} + ;; + fx2800) + cpu=i860 + vendor=alliant + ;; + genix) + cpu=ns32k + vendor=ns + ;; + h3050r* | hiux*) + cpu=hppa1.1 + vendor=hitachi + os=hiuxwe2 + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + cpu=hppa1.0 + vendor=hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + cpu=m68000 + vendor=hp + ;; + hp9k3[2-9][0-9]) + cpu=m68k + vendor=hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + cpu=hppa1.0 + vendor=hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + cpu=hppa1.1 + vendor=hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + cpu=hppa1.1 + vendor=hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + cpu=hppa1.1 + vendor=hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + cpu=hppa1.1 + vendor=hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + cpu=hppa1.0 + vendor=hp + ;; + i*86v32) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + os=sysv32 + ;; + i*86v4*) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + os=sysv4 + ;; + i*86v) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + os=sysv + ;; + i*86sol2) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + os=solaris2 + ;; + j90 | j90-cray) + cpu=j90 + vendor=cray + os=${os:-unicos} + ;; + iris | iris4d) + cpu=mips + vendor=sgi + case $os in + irix*) + ;; + *) + os=irix4 + ;; + esac + ;; + miniframe) + cpu=m68000 + vendor=convergent + ;; + *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*) + cpu=m68k + vendor=atari + os=mint + ;; + news-3600 | risc-news) + cpu=mips + vendor=sony + os=newsos + ;; + next | m*-next) + cpu=m68k + vendor=next + case $os in + nextstep* ) + ;; + ns2*) + os=nextstep2 + ;; + *) + os=nextstep3 + ;; + esac + ;; + np1) + cpu=np1 + vendor=gould + ;; + op50n-* | op60c-*) + cpu=hppa1.1 + vendor=oki + os=proelf + ;; + pa-hitachi) + cpu=hppa1.1 + vendor=hitachi + os=hiuxwe2 + ;; + pbd) + cpu=sparc + vendor=tti + ;; + pbb) + cpu=m68k + vendor=tti + ;; + pc532) + cpu=ns32k + vendor=pc532 + ;; + pn) + cpu=pn + vendor=gould + ;; + power) + cpu=power + vendor=ibm + ;; + ps2) + cpu=i386 + vendor=ibm + ;; + rm[46]00) + cpu=mips + vendor=siemens + ;; + rtpc | rtpc-*) + cpu=romp + vendor=ibm + ;; + sde) + cpu=mipsisa32 + vendor=sde + os=${os:-elf} + ;; + simso-wrs) + cpu=sparclite + vendor=wrs + os=vxworks + ;; + tower | tower-32) + cpu=m68k + vendor=ncr + ;; + vpp*|vx|vx-*) + cpu=f301 + vendor=fujitsu + ;; + w65) + cpu=w65 + vendor=wdc + ;; + w89k-*) + cpu=hppa1.1 + vendor=winbond + os=proelf + ;; + none) + cpu=none + vendor=none ;; leon|leon[3-9]) - basic_machine=sparc-$basic_machine + cpu=sparc + vendor=$basic_machine ;; - m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) - basic_machine=$basic_machine-unknown - os=-none - ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) - ;; - m9s12z | m68hcs12z | hcs12z | s12z) - basic_machine=s12z-unknown - os=-none - ;; - ms1) - basic_machine=mt-unknown + leon-*|leon[3-9]-*) + cpu=sparc + vendor=`echo "$basic_machine" | sed 's/-.*//'` ;; - strongarm | thumb | xscale) - basic_machine=arm-unknown + *-*) + IFS="-" read -r cpu vendor <&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - 580-* \ - | a29k-* \ - | aarch64-* | aarch64_be-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* | avr32-* \ - | ba-* \ - | be32-* | be64-* \ - | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* \ - | c8051-* | clipper-* | craynv-* | csky-* | cydra-* \ - | d10v-* | d30v-* | dlx-* \ - | e2k-* | elxsi-* \ - | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | hexagon-* \ - | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ - | ip2k-* | iq2000-* \ - | k1om-* \ - | le32-* | le64-* \ - | lm32-* \ - | m32c-* | m32r-* | m32rle-* \ - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ - | microblaze-* | microblazeel-* \ - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ - | mips16-* \ - | mips64-* | mips64el-* \ - | mips64octeon-* | mips64octeonel-* \ - | mips64orion-* | mips64orionel-* \ - | mips64r5900-* | mips64r5900el-* \ - | mips64vr-* | mips64vrel-* \ - | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* \ - | mips64vr5000-* | mips64vr5000el-* \ - | mips64vr5900-* | mips64vr5900el-* \ - | mipsisa32-* | mipsisa32el-* \ - | mipsisa32r2-* | mipsisa32r2el-* \ - | mipsisa32r6-* | mipsisa32r6el-* \ - | mipsisa64-* | mipsisa64el-* \ - | mipsisa64r2-* | mipsisa64r2el-* \ - | mipsisa64r6-* | mipsisa64r6el-* \ - | mipsisa64sb1-* | mipsisa64sb1el-* \ - | mipsisa64sr71k-* | mipsisa64sr71kel-* \ - | mipsr5900-* | mipsr5900el-* \ - | mipstx39-* | mipstx39el-* \ - | mmix-* \ - | mt-* \ - | msp430-* \ - | nds32-* | nds32le-* | nds32be-* \ - | nfp-* \ - | nios-* | nios2-* | nios2eb-* | nios2el-* \ - | none-* | np1-* | ns16k-* | ns32k-* \ - | open8-* \ - | or1k*-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ - | pru-* \ - | pyramid-* \ - | riscv32-* | riscv64-* \ - | rl78-* | romp-* | rs6000-* | rx-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ - | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ - | tahoe-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ - | tile*-* \ - | tron-* \ - | ubicom32-* \ - | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ - | vax-* \ - | visium-* \ - | wasm32-* \ - | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* \ - | xstormy16-* | xtensa*-* \ - | ymp-* \ - | z8k-* | z80-*) - ;; - # Recognize the basic CPU types without company name, with glob match. - xtensa*) - basic_machine=$basic_machine-unknown - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 386bsd) - basic_machine=i386-pc - os=-bsd - ;; - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - a29khif) - basic_machine=a29k-amd - os=-udi - ;; - abacus) - basic_machine=abacus-unknown - ;; - adobe68k) - basic_machine=m68010-adobe - os=-scout - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amd64) - basic_machine=x86_64-pc - ;; - amd64-*) - basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-unknown - ;; - amigaos | amigados) - basic_machine=m68k-unknown - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-unknown - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - apollo68bsd) - basic_machine=m68k-apollo - os=-bsd - ;; - aros) - basic_machine=i386-pc - os=-aros - ;; - asmjs) - basic_machine=asmjs-unknown - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - blackfin) - basic_machine=bfin-unknown - os=-linux - ;; - blackfin-*) - basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux - ;; - bluegene*) - basic_machine=powerpc-ibm - os=-cnk - ;; - c54x-*) - basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - c55x-*) - basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - c6x-*) - basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - cegcc) - basic_machine=arm-unknown - os=-cegcc - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | j90) - basic_machine=j90-cray - os=-unicos - ;; - craynv) - basic_machine=craynv-cray - os=-unicosmp - ;; - cr16 | cr16-*) - basic_machine=cr16-unknown - os=-elf - ;; - crds | unos) - basic_machine=m68k-crds - ;; - crisv32 | crisv32-* | etraxfs*) - basic_machine=crisv32-axis - ;; - cris | cris-* | etrax*) - basic_machine=cris-axis - ;; - crx) - basic_machine=crx-unknown - os=-elf - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - decsystem10* | dec10*) - basic_machine=pdp10-dec - os=-tops10 - ;; - decsystem20* | dec20*) - basic_machine=pdp10-dec - os=-tops20 - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - dicos) - basic_machine=i686-pc - os=-dicos - ;; - djgpp) - basic_machine=i586-pc - os=-msdosdjgpp - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2*) - basic_machine=m68k-bull - os=-sysv3 - ;; - e500v[12]) - basic_machine=powerpc-unknown - os=$os"spe" - ;; - e500v[12]-*) - basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=$os"spe" - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - es1800 | OSE68k | ose68k | ose | OSE) - basic_machine=m68k-ericsson - os=-ose - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - go32) - basic_machine=i386-pc - os=-go32 - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - h8300xray) - basic_machine=h8300-hitachi - os=-xray - ;; - h8500hms) - basic_machine=h8500-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp3k9[0-9][0-9] | hp9[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k6[0-9][0-9] | hp6[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k7[0-79][0-9] | hp7[0-79][0-9]) - basic_machine=hppa1.1-hp - ;; - hp9k78[0-9] | hp78[0-9]) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][13679] | hp8[0-9][13679]) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppaosf) - basic_machine=hppa1.1-hp - os=-osf - ;; - hppro) - basic_machine=hppa1.1-hp - os=-proelf - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - ;; - i*86v32) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i*86v4*) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i*86v) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i*86sol2) - basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - i386mach) - basic_machine=i386-mach - os=-mach - ;; - vsta) - basic_machine=i386-unknown - os=-vsta - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - leon-*|leon[3-9]-*) - basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` - ;; - m68knommu) - basic_machine=m68k-unknown - os=-linux - ;; - m68knommu-*) - basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - microblaze*) - basic_machine=microblaze-xilinx - ;; - mingw64) - basic_machine=x86_64-pc - os=-mingw64 - ;; - mingw32) - basic_machine=i686-pc - os=-mingw32 - ;; - mingw32ce) - basic_machine=arm-unknown - os=-mingw32ce - ;; - miniframe) - basic_machine=m68000-convergent - ;; - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; - mips3*-*) - basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown - ;; - monitor) - basic_machine=m68k-rom68k - os=-coff - ;; - morphos) - basic_machine=powerpc-unknown - os=-morphos - ;; - moxiebox) - basic_machine=moxie-unknown - os=-moxiebox - ;; - msdos) - basic_machine=i386-pc - os=-msdos - ;; - ms1-*) - basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` - ;; - msys) - basic_machine=i686-pc - os=-msys - ;; - mvs) - basic_machine=i370-ibm - os=-mvs - ;; - nacl) - basic_machine=le32-unknown - os=-nacl - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - netbsd386) - basic_machine=i386-unknown - os=-netbsd - ;; - netwinder) - basic_machine=armv4l-rebel - os=-linux - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - necv70) - basic_machine=v70-nec - os=-sysv - ;; - next | m*-next) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - mon960) - basic_machine=i960-intel - os=-mon960 - ;; - nonstopux) - basic_machine=mips-compaq - os=-nonstopux - ;; - np1) - basic_machine=np1-gould - ;; - neo-tandem) - basic_machine=neo-tandem - ;; - nse-tandem) - basic_machine=nse-tandem - ;; - nsr-tandem) - basic_machine=nsr-tandem - ;; - nsv-tandem) - basic_machine=nsv-tandem - ;; - nsx-tandem) - basic_machine=nsx-tandem - ;; - op50n-* | op60c-*) - basic_machine=hppa1.1-oki - os=-proelf - ;; - openrisc | openrisc-*) - basic_machine=or32-unknown - ;; - os400) - basic_machine=powerpc-ibm - os=-os400 - ;; - OSE68000 | ose68000) - basic_machine=m68000-ericsson - os=-ose - ;; - os68k) - basic_machine=m68k-none - os=-os68k - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - parisc) - basic_machine=hppa-unknown - os=-linux - ;; - parisc-*) - basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` - os=-linux - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 + cpu=$basic_machine + vendor=pc ;; + # These rules are duplicated from below for sake of the special case above; + # i.e. things that normalized to x86 arches should also default to "pc" pc98) - basic_machine=i386-pc + cpu=i386 + vendor=pc ;; - pc98-*) - basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` + x64 | amd64) + cpu=x86_64 + vendor=pc ;; - pentium | p5 | k5 | k6 | nexgen | viac3) - basic_machine=i586-pc + # Recognize the basic CPU types without company name. + *) + cpu=$basic_machine + vendor=unknown ;; - pentiumpro | p6 | 6x86 | athlon | athlon_*) - basic_machine=i686-pc +esac + +unset -v basic_machine + +# Decode basic machines in the full and proper CPU-Company form. +case $cpu-$vendor in + # Here we handle the default manufacturer of certain CPU types in cannonical form. It is in + # some cases the only manufacturer, in others, it is the most popular. + craynv-unknown) + vendor=cray + os=${os:-unicosmp} ;; - pentiumii | pentium2 | pentiumiii | pentium3) - basic_machine=i686-pc + c90-unknown | c90-cray) + vendor=cray + os=${os:-unicos} ;; - pentium4) - basic_machine=i786-pc + fx80-unknown) + vendor=alliant ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` + romp-unknown) + vendor=ibm ;; - pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` + mmix-unknown) + vendor=knuth ;; - pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) - basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` + microblaze-unknown | microblazeel-unknown) + vendor=xilinx ;; - pentium4-*) - basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` + rs6000-unknown) + vendor=ibm ;; - pn) - basic_machine=pn-gould + vax-unknown) + vendor=dec ;; - power) basic_machine=power-ibm + pdp11-unknown) + vendor=dec ;; - ppc | ppcbe) basic_machine=powerpc-unknown + we32k-unknown) + vendor=att ;; - ppc-* | ppcbe-*) - basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` + cydra-unknown) + vendor=cydrome ;; - ppcle | powerpclittle) - basic_machine=powerpcle-unknown + i370-ibm*) + vendor=ibm ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` + orion-unknown) + vendor=highlevel ;; - ppc64) basic_machine=powerpc64-unknown - ;; - ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - ppc64le | powerpc64little) - basic_machine=powerpc64le-unknown - ;; - ppc64le-* | powerpc64little-*) - basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - pw32) - basic_machine=i586-unknown - os=-pw32 - ;; - rdos | rdos64) - basic_machine=x86_64-pc - os=-rdos - ;; - rdos32) - basic_machine=i386-pc - os=-rdos - ;; - rom68k) - basic_machine=m68k-rom68k - os=-coff - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - s390 | s390-*) - basic_machine=s390-ibm - ;; - s390x | s390x-*) - basic_machine=s390x-ibm - ;; - sa29200) - basic_machine=a29k-amd - os=-udi - ;; - sb1) - basic_machine=mipsisa64sb1-unknown - ;; - sb1el) - basic_machine=mipsisa64sb1el-unknown - ;; - sde) - basic_machine=mipsisa32-sde - os=-elf - ;; - sei) - basic_machine=mips-sei - os=-seiux - ;; - sequent) - basic_machine=i386-sequent - ;; - sh5el) - basic_machine=sh5le-unknown - ;; - simso-wrs) - basic_machine=sparclite-wrs - os=-vxworks - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - st2000) - basic_machine=m68k-tandem - ;; - stratus) - basic_machine=i860-stratus - os=-sysv4 - ;; - strongarm-* | thumb-*) - basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - sv1) - basic_machine=sv1-cray - os=-unicos - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - t3e) - basic_machine=alphaev5-cray - os=-unicos - ;; - t90) - basic_machine=t90-cray - os=-unicos - ;; - tile*) - basic_machine=$basic_machine-unknown - os=-linux-gnu - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - toad1) - basic_machine=pdp10-xkl - os=-tops20 - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - tpf) - basic_machine=s390x-ibm - os=-tpf - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - v810 | necv810) - basic_machine=v810-nec - os=-none - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - w65*) - basic_machine=w65-wdc - os=-none - ;; - w89k-*) - basic_machine=hppa1.1-winbond - os=-proelf - ;; - x64) - basic_machine=x86_64-pc - ;; - xbox) - basic_machine=i686-pc - os=-mingw32 - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - xscale-* | xscalee[bl]-*) - basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` - ;; - ymp) - basic_machine=ymp-cray - os=-unicos - ;; - none) - basic_machine=none-none - os=-none + xps-unknown | xps100-unknown) + cpu=xps100 + vendor=honeywell ;; -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - w89k) - basic_machine=hppa1.1-winbond + # Here we normalize CPU types with a missing or matching vendor + dpx20-unknown | dpx20-bull) + cpu=rs6000 + vendor=bull + os=${os:-bosx} ;; - op50n) - basic_machine=hppa1.1-oki + + # Here we normalize CPU types irrespective of the vendor + amd64-*) + cpu=x86_64 ;; - op60c) - basic_machine=hppa1.1-oki + blackfin-*) + cpu=bfin + os=linux ;; - romp) - basic_machine=romp-ibm + c54x-*) + cpu=tic54x ;; - mmix) - basic_machine=mmix-knuth + c55x-*) + cpu=tic55x ;; - rs6000) - basic_machine=rs6000-ibm + c6x-*) + cpu=tic6x ;; - vax) - basic_machine=vax-dec + e500v[12]-*) + cpu=powerpc + os=$os"spe" ;; - pdp11) - basic_machine=pdp11-dec + mips3*-*) + cpu=mips64 ;; - we32k) - basic_machine=we32k-att + ms1-*) + cpu=mt ;; - sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) - basic_machine=sh-unknown + m68knommu-*) + cpu=m68k + os=linux ;; - cydra) - basic_machine=cydra-cydrome + m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*) + cpu=s12z ;; - orion) - basic_machine=orion-highlevel + openrisc-*) + cpu=or32 ;; - orion105) - basic_machine=clipper-highlevel + parisc-*) + cpu=hppa + os=linux ;; - mac | mpw | mac-mpw) - basic_machine=m68k-apple + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + cpu=i586 ;; - pmac | pmac-mpw) - basic_machine=powerpc-apple + pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*) + cpu=i686 ;; - *-unknown) - # Make sure to match an already-canonicalized machine name. + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + cpu=i686 ;; + pentium4-*) + cpu=i786 + ;; + pc98-*) + cpu=i386 + ;; + ppc-* | ppcbe-*) + cpu=powerpc + ;; + ppcle-* | powerpclittle-*) + cpu=powerpcle + ;; + ppc64-*) + cpu=powerpc64 + ;; + ppc64le-* | powerpc64little-*) + cpu=powerpc64le + ;; + sb1-*) + cpu=mipsisa64sb1 + ;; + sb1el-*) + cpu=mipsisa64sb1el + ;; + sh5e[lb]-*) + cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'` + ;; + spur-*) + cpu=spur + ;; + strongarm-* | thumb-*) + cpu=arm + ;; + tx39-*) + cpu=mipstx39 + ;; + tx39el-*) + cpu=mipstx39el + ;; + x64-*) + cpu=x86_64 + ;; + xscale-* | xscalee[bl]-*) + cpu=`echo "$cpu" | sed 's/^xscale/arm/'` + ;; + + # Recognize the cannonical CPU Types that limit and/or modify the + # company names they are paired with. + cr16-*) + os=${os:-elf} + ;; + crisv32-* | etraxfs*-*) + cpu=crisv32 + vendor=axis + ;; + cris-* | etrax*-*) + cpu=cris + vendor=axis + ;; + crx-*) + os=${os:-elf} + ;; + neo-tandem) + cpu=neo + vendor=tandem + ;; + nse-tandem) + cpu=nse + vendor=tandem + ;; + nsr-tandem) + cpu=nsr + vendor=tandem + ;; + nsv-tandem) + cpu=nsv + vendor=tandem + ;; + nsx-tandem) + cpu=nsx + vendor=tandem + ;; + s390-*) + cpu=s390 + vendor=ibm + ;; + s390x-*) + cpu=s390x + vendor=ibm + ;; + tile*-*) + os=${os:-linux-gnu} + ;; + *) - echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 - exit 1 + # Recognize the cannonical CPU types that are allowed with any + # company name. + case $cpu in + 1750a | 580 \ + | a29k \ + | aarch64 | aarch64_be \ + | abacus \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \ + | alphapca5[67] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arceb \ + | arm | arm[lb]e | arme[lb] | armv* \ + | avr | avr32 \ + | asmjs \ + | ba \ + | be32 | be64 \ + | bfin | bs2000 \ + | c[123]* | c30 | [cjt]90 | c4x \ + | c8051 | clipper | craynv | csky | cydra \ + | d10v | d30v | dlx | dsp16xx \ + | e2k | elxsi | epiphany \ + | f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \ + | h8300 | h8500 \ + | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ + | i370 | i*86 | i860 | i960 | ia16 | ia64 \ + | ip2k | iq2000 \ + | k1om \ + | le32 | le64 \ + | lm32 \ + | m32c | m32r | m32rle \ + | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k | v70 | w65 \ + | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip \ + | m88110 | m88k | maxq | mb | mcore | mep | metag \ + | microblaze | microblazeel \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa32r6 | mipsisa32r6el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64r6 | mipsisa64r6el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipsr5900 | mipsr5900el \ + | mipstx39 | mipstx39el \ + | mmix \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nds32 | nds32le | nds32be \ + | nfp \ + | nios | nios2 | nios2eb | nios2el \ + | none | np1 | ns16k | ns32k \ + | open8 \ + | or1k* \ + | or32 \ + | orion \ + | pdp10 | pdp11 | pj | pjl | pn | power \ + | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \ + | pru \ + | pyramid \ + | riscv | riscv32 | riscv64 \ + | rl78 | romp | rs6000 | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \ + | sh[1234]e[lb] | sh[12345][lb]e | sh[23]ele | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \ + | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \ + | spu \ + | tahoe \ + | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \ + | tron \ + | ubicom32 \ + | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \ + | vax \ + | visium \ + | wasm32 \ + | we32k \ + | x86 | x86_64 | xc16x | xgate | xps100 \ + | xstormy16 | xtensa* \ + | ymp \ + | z8k | z80) + ;; + + *) + echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2 + exit 1 + ;; + esac ;; esac # Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` +case $vendor in + digital*) + vendor=dec ;; - *-commodore*) - basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` + commodore*) + vendor=cbm ;; *) ;; @@ -1365,200 +1275,240 @@ then case $os in # First match some system type aliases that might get confused # with valid system types. - # -solaris* is a basic system type, with this one exception. - -auroraux) - os=-auroraux + # solaris* is a basic system type, with this one exception. + auroraux) + os=auroraux ;; - -solaris1 | -solaris1.*) + bluegene*) + os=cnk + ;; + solaris1 | solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; - -solaris) - os=-solaris2 + solaris) + os=solaris2 ;; - -unixware*) - os=-sysv4.2uw + unixware*) + os=sysv4.2uw ;; - -gnu/linux*) + gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # es1800 is here to avoid being matched by es* (a different OS) - -es1800*) - os=-ose + es1800*) + os=ose + ;; + # Some version numbers need modification + chorusos*) + os=chorusos + ;; + isc) + os=isc2.2 + ;; + sco6) + os=sco5v6 + ;; + sco5) + os=sco3.2v5 + ;; + sco4) + os=sco3.2v4 + ;; + sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + ;; + sco3.2v[4-9]* | sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + ;; + scout) + # Don't match below + ;; + sco*) + os=sco3.2v2 + ;; + psos*) + os=psos ;; # Now accept the basic system types. # The portable systems comes first. # Each alternative MUST end in a * to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ - | -sym* | -kopensolaris* | -plan9* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* | -aros* | -cloudabi* | -sortix* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \ - | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ - | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ - | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* | -hcos* \ - | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ - | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ - | -linux-newlib* | -linux-musl* | -linux-uclibc* \ - | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ - | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ - | -midnightbsd*) + # sysv* is not here because it comes later, after sysvr4. + gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ + | *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\ + | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ + | sym* | kopensolaris* | plan9* \ + | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \ + | aos* | aros* | cloudabi* | sortix* \ + | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \ + | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \ + | knetbsd* | mirbsd* | netbsd* \ + | bitrig* | openbsd* | solidbsd* | libertybsd* \ + | ekkobsd* | kfreebsd* | freebsd* | riscix* | lynxos* \ + | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \ + | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \ + | udi* | eabi* | lites* | ieee* | go32* | aux* | hcos* \ + | chorusrdb* | cegcc* | glidix* \ + | cygwin* | msys* | pe* | moss* | proelf* | rtems* \ + | midipix* | mingw32* | mingw64* | linux-gnu* | linux-android* \ + | linux-newlib* | linux-musl* | linux-uclibc* \ + | uxpv* | beos* | mpeix* | udk* | moxiebox* \ + | interix* | uwin* | mks* | rhapsody* | darwin* \ + | openstep* | oskit* | conix* | pw32* | nonstopux* \ + | storm-chaos* | tops10* | tenex* | tops20* | its* \ + | os2* | vos* | palmos* | uclinux* | nucleus* \ + | morphos* | superux* | rtmk* | windiss* \ + | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \ + | skyos* | haiku* | rdos* | toppers* | drops* | es* \ + | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ + | midnightbsd*) # Remember, each alternative MUST END IN *, to match a version number. ;; - -qnx*) - case $basic_machine in - x86-* | i*86-*) + qnx*) + case $cpu in + x86 | i*86) ;; *) - os=-nto$os + os=nto-$os ;; esac ;; - -nto-qnx*) + hiux*) + os=hiuxwe2 ;; - -nto*) + nto-qnx*) + ;; + nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; - -sim | -xray | -os68k* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* \ - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + sim | xray | os68k* | v88r* \ + | windows* | osx | abug | netware* | os9* \ + | macos* | mpw* | magic* | mmixware* | mon960* | lnews*) ;; - -mac*) - os=`echo "$os" | sed -e 's|mac|macos|'` + linux-dietlibc) + os=linux-dietlibc ;; - -linux-dietlibc) - os=-linux-dietlibc - ;; - -linux*) + linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; - -sunos5*) + lynx*178) + os=lynxos178 + ;; + lynx*5) + os=lynxos5 + ;; + lynx*) + os=lynxos + ;; + mac*) + os=`echo "$os" | sed -e 's|mac|macos|'` + ;; + opened*) + os=openedition + ;; + os400*) + os=os400 + ;; + sunos5*) os=`echo "$os" | sed -e 's|sunos5|solaris2|'` ;; - -sunos6*) + sunos6*) os=`echo "$os" | sed -e 's|sunos6|solaris3|'` ;; - -opened*) - os=-openedition + wince*) + os=wince ;; - -os400*) - os=-os400 + utek*) + os=bsd ;; - -wince*) - os=-wince + dynix*) + os=bsd ;; - -utek*) - os=-bsd + acis*) + os=aos ;; - -dynix*) - os=-bsd + atheos*) + os=atheos ;; - -acis*) - os=-aos + syllable*) + os=syllable ;; - -atheos*) - os=-atheos + 386bsd) + os=bsd ;; - -syllable*) - os=-syllable + ctix* | uts*) + os=sysv ;; - -386bsd) - os=-bsd + nova*) + os=rtmk-nova ;; - -ctix* | -uts*) - os=-sysv + ns2) + os=nextstep2 ;; - -nova*) - os=-rtmk-nova - ;; - -ns2) - os=-nextstep2 - ;; - -nsk*) - os=-nsk + nsk*) + os=nsk ;; # Preserve the version number of sinix5. - -sinix5.*) + sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; - -sinix*) - os=-sysv4 + sinix*) + os=sysv4 ;; - -tpf*) - os=-tpf + tpf*) + os=tpf ;; - -triton*) - os=-sysv3 + triton*) + os=sysv3 ;; - -oss*) - os=-sysv3 + oss*) + os=sysv3 ;; - -svr4*) - os=-sysv4 + svr4*) + os=sysv4 ;; - -svr3) - os=-sysv3 + svr3) + os=sysv3 ;; - -sysvr4) - os=-sysv4 + sysvr4) + os=sysv4 ;; - # This must come after -sysvr4. - -sysv*) + # This must come after sysvr4. + sysv*) ;; - -ose*) - os=-ose + ose*) + os=ose ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - os=-mint + *mint | mint[0-9]* | *MiNT | MiNT[0-9]*) + os=mint ;; - -zvmoe) - os=-zvmoe + zvmoe) + os=zvmoe ;; - -dicos*) - os=-dicos + dicos*) + os=dicos ;; - -pikeos*) + pikeos*) # Until real need of OS specific support for # particular features comes up, bare metal # configurations are quite functional. - case $basic_machine in + case $cpu in arm*) - os=-eabi + os=eabi ;; *) - os=-elf + os=elf ;; esac ;; - -nacl*) + nacl*) ;; - -ios) + ios) ;; - -none) + none) ;; - -*-eabi) - case $basic_machine in - arm*) - ;; - esac + *-eabi) ;; *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 exit 1 ;; @@ -1575,254 +1525,261 @@ else # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. -case $basic_machine in +case $cpu-$vendor in score-*) - os=-elf + os=elf ;; spu-*) - os=-elf + os=elf ;; *-acorn) - os=-riscix1.2 + os=riscix1.2 ;; arm*-rebel) - os=-linux + os=linux ;; arm*-semi) - os=-aout + os=aout ;; c4x-* | tic4x-*) - os=-coff + os=coff ;; c8051-*) - os=-elf + os=elf + ;; + clipper-intergraph) + os=clix ;; hexagon-*) - os=-elf + os=elf ;; tic54x-*) - os=-coff + os=coff ;; tic55x-*) - os=-coff + os=coff ;; tic6x-*) - os=-coff + os=coff ;; # This must come before the *-dec entry. pdp10-*) - os=-tops20 + os=tops20 ;; pdp11-*) - os=-none + os=none ;; *-dec | vax-*) - os=-ultrix4.2 + os=ultrix4.2 ;; m68*-apollo) - os=-domain + os=domain ;; i386-sun) - os=-sunos4.0.2 + os=sunos4.0.2 ;; m68000-sun) - os=-sunos3 + os=sunos3 ;; m68*-cisco) - os=-aout + os=aout ;; mep-*) - os=-elf + os=elf ;; mips*-cisco) - os=-elf + os=elf ;; mips*-*) - os=-elf + os=elf ;; or32-*) - os=-coff + os=coff ;; *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 + os=sysv3 ;; sparc-* | *-sun) - os=-sunos4.1.1 + os=sunos4.1.1 ;; pru-*) - os=-elf + os=elf ;; *-be) - os=-beos + os=beos ;; *-ibm) - os=-aix + os=aix ;; *-knuth) - os=-mmixware + os=mmixware ;; *-wec) - os=-proelf + os=proelf ;; *-winbond) - os=-proelf + os=proelf ;; *-oki) - os=-proelf + os=proelf ;; *-hp) - os=-hpux + os=hpux ;; *-hitachi) - os=-hiux + os=hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv + os=sysv ;; *-cbm) - os=-amigaos + os=amigaos ;; *-dg) - os=-dgux + os=dgux ;; *-dolphin) - os=-sysv3 + os=sysv3 ;; m68k-ccur) - os=-rtu + os=rtu ;; m88k-omron*) - os=-luna + os=luna ;; *-next) - os=-nextstep + os=nextstep ;; *-sequent) - os=-ptx + os=ptx ;; *-crds) - os=-unos + os=unos ;; *-ns) - os=-genix + os=genix ;; i370-*) - os=-mvs + os=mvs ;; *-gould) - os=-sysv + os=sysv ;; *-highlevel) - os=-bsd + os=bsd ;; *-encore) - os=-bsd + os=bsd ;; *-sgi) - os=-irix + os=irix ;; *-siemens) - os=-sysv4 + os=sysv4 ;; *-masscomp) - os=-rtu + os=rtu ;; f30[01]-fujitsu | f700-fujitsu) - os=-uxpv + os=uxpv ;; *-rom68k) - os=-coff + os=coff ;; *-*bug) - os=-coff + os=coff ;; *-apple) - os=-macos + os=macos ;; *-atari*) - os=-mint + os=mint + ;; + *-wrs) + os=vxworks ;; *) - os=-none + os=none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) +case $vendor in + unknown) case $os in - -riscix*) + riscix*) vendor=acorn ;; - -sunos*) + sunos*) vendor=sun ;; - -cnk*|-aix*) + cnk*|-aix*) vendor=ibm ;; - -beos*) + beos*) vendor=be ;; - -hpux*) + hpux*) vendor=hp ;; - -mpeix*) + mpeix*) vendor=hp ;; - -hiux*) + hiux*) vendor=hitachi ;; - -unos*) + unos*) vendor=crds ;; - -dgux*) + dgux*) vendor=dg ;; - -luna*) + luna*) vendor=omron ;; - -genix*) + genix*) vendor=ns ;; - -mvs* | -opened*) + clix*) + vendor=intergraph + ;; + mvs* | opened*) vendor=ibm ;; - -os400*) + os400*) vendor=ibm ;; - -ptx*) + ptx*) vendor=sequent ;; - -tpf*) + tpf*) vendor=ibm ;; - -vxsim* | -vxworks* | -windiss*) + vxsim* | vxworks* | windiss*) vendor=wrs ;; - -aux*) + aux*) vendor=apple ;; - -hms*) + hms*) vendor=hitachi ;; - -mpw* | -macos*) + mpw* | macos*) vendor=apple ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + *mint | mint[0-9]* | *MiNT | MiNT[0-9]*) vendor=atari ;; - -vos*) + vos*) vendor=stratus ;; esac - basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` ;; esac -echo "$basic_machine$os" +echo "$cpu-$vendor-$os" exit # Local variables: diff --git a/examples/cafeTest/RHEL8-x86_64/cafeTest b/examples/cafeTest/RHEL8-x86_64/cafeTest index b7614fe..42f21c7 100755 Binary files a/examples/cafeTest/RHEL8-x86_64/cafeTest and b/examples/cafeTest/RHEL8-x86_64/cafeTest differ diff --git a/examples/cafeTest/RHEL8-x86_64/monitorTest b/examples/cafeTest/RHEL8-x86_64/monitorTest deleted file mode 100755 index 8a783bc..0000000 Binary files a/examples/cafeTest/RHEL8-x86_64/monitorTest and /dev/null differ diff --git a/examples/cafeTest/RHEL9-x86_64/cafeTest b/examples/cafeTest/RHEL9-x86_64/cafeTest new file mode 100755 index 0000000..cc4357e Binary files /dev/null and b/examples/cafeTest/RHEL9-x86_64/cafeTest differ diff --git a/examples/cafeTest/cafeTest.cc b/examples/cafeTest/cafeTest.cc index 76622e1..da7c9f9 100644 --- a/examples/cafeTest/cafeTest.cc +++ b/examples/cafeTest/cafeTest.cc @@ -56,8 +56,8 @@ int main( int argc, char *argv[] ) vector hV; //vector of handles vector pvV; //corresponding vector of pvs vector stateV;//corresponding vector of connection states - - unsigned int handle; + unsigned int h; + unsigned int handle, handle_wf; int status; //Instantaite CAFE @@ -86,6 +86,13 @@ int main( int argc, char *argv[] ) // else otherwise specified. cafe->channelOpenPolicy.setTimeout(0.1); //pend 0.1 seconds + + cout << "---------------------------------------------------------------------" << endl; + cout << "START: (1) Establishing connections to EPICS Process Variables (PVs) " << endl; + cout << "---------------------------------------------------------------------" << endl; + cout << pvArray[3] << endl; + cout << pvArray[3].c_str() << endl; + // Open one channel // An exception is ***not*** thrown if the channel does not connect! @@ -95,6 +102,9 @@ int main( int argc, char *argv[] ) try { cafe->open(pvArray[0].c_str(), handle); + cafe->open(PV_WF, handle_wf); + cafe->open(pvArray[3].c_str(), h); + cout << "handle " << h << flush << endl; } catch(CAFEException_open & e) { @@ -102,6 +112,10 @@ int main( int argc, char *argv[] ) exit(1); } + cout << "---------------------------------------------------------------------" << endl; + cout << "START: (1) Establishing connections to EPICS Process Variables (PVs) " << endl; + cout << "---------------------------------------------------------------------" << endl; + try { @@ -123,9 +137,20 @@ int main( int argc, char *argv[] ) //However, for convenience open policy has been conveniently packaged so that //only the openPrepare method need be called a priori - cafe->openPrepare(); - cafe->open(pvArray, hArray, NHANDLES); + cout << pvArray[5] << flush << endl; + + + + + cafe->openPrepare(); + + cout << NHANDLES << flush << endl; + + + //cafe->open(pvArray, hArray, NHANDLES); + + cout << NHANDLES << flush << endl; // Vector interfaces also exist // vector pvVector // vector hVector @@ -138,6 +163,12 @@ int main( int argc, char *argv[] ) //or cafe->openNowAndWait(0.5); //wait for specified time, here 0.5 seconds + hArray[0] = 1; + hArray[1] = 2; + hArray[2] = 1; + hArray[3] = 2; + hArray[4] = 1; + hArray[5] = 2; //Is the given channel connected? Returns true/false bool ifYes= cafe->isChannelConnected(hArray[0]); @@ -197,15 +228,19 @@ int main( int argc, char *argv[] ) cout << "---------------------------------------------------------------------" << endl; + //reset Number of elements to native value for get operation cafe->getHandleHelper().setNelem(hArray[2], cafe->getNelemNative(hArray[2]) ); - + cout << cafe->getNelemNative(hArray[2]) << flush << endl; + //Allocate double * dwf2 = new double[cafe->getNelemNative(hArray[2])]; status=cafe->get(PV_WF, dwf2); + cout << status << flush << endl; + if (status != ICAFE_NORMAL) { cout << "Status = " << status << "; indicates an error at " << __METHOD__ << "//" << __LINE__ << endl; @@ -223,7 +258,7 @@ int main( int argc, char *argv[] ) } - ; + //------------------------------------------------------------ @@ -233,7 +268,7 @@ int main( int argc, char *argv[] ) cout << "------------------------------------------------------------" << endl; cout << "START: (2) Basic Single Channel Operations " << endl; cout << "------------------------------------------------------------" << endl; - + cout << flush << endl; //------------------------------------------------------------ //Data retrieval methods returning a scalar value //------------------------------------------------------------ @@ -661,6 +696,7 @@ int main( int argc, char *argv[] ) cout << "------------------------------------------------------------" << endl; //GET INFORMATION OF ENUM PV + PVCtrlHolder pvCtrl; status=cafe->getCtrl(PV_MBBI, pvCtrl); @@ -672,7 +708,7 @@ int main( int argc, char *argv[] ) cout << i << " : " << enums[i] << endl; } cout << "-------------------------" << endl; - + string enumStrVal; status= cafe->get(PV_MBBI, enumStrVal); @@ -685,7 +721,7 @@ int main( int argc, char *argv[] ) status= cafe->get(PV_MBBI, enumShortVal); cout << "VALUE as int: " << enumShortVal << endl; - cout << "getStringFromEnum: " << pvCtrl.getStringFromEnum(enumShortVal) << endl; + //cout << "getStringFromEnum: " << pvCtrl.getStringFromEnum(enumShortVal) << endl; PVDataHolder pvDat; diff --git a/examples/cafeTest/makefile7_RHEL8 b/examples/cafeTest/makefile7_RHEL8 new file mode 100644 index 0000000..4990696 --- /dev/null +++ b/examples/cafeTest/makefile7_RHEL8 @@ -0,0 +1,56 @@ +# +# Jan Chrin +# June 2016 +# +# Makefile to build a simple C++ cafe client +# + +#-py37- libcafe.so: undefined reference to `cy_event_handler_wrapper +#CAFE version to link to +#CAFE_VERSION=cafe-1.14.4-sls2-gcc-7.3.0 +CAFE_VERSION=cafe-1.22.0-hipa-gcc-11.5.0 +#CAFE_VERSION=cafe-1.15.0-gcc-10.3.0 + +PYTHON_INCLUDE=/opt/gfa/python-3.7/latest/include/python3.7m +PYTHON_LIB=/opt/gfa/python-3.7/latest/lib + +EPICS_BASE=${EPICS}/base-7.0.10 + +#CAFE project base +CAFE_BASE=/psi.ch/project/cafe +CAFE_CPP_BASE=${CAFE_BASE}/bin/cpp + + +BOOST_BASE=${CAFE_BASE}/boost/boost_1_61_0/include + +INCLUDE_PATH += -I$(CAFE_CPP_BASE)/$(CAFE_VERSION)/include \ + -I$(EPICS_BASE)/include -I$(EPICS_BASE)/include/compiler/gcc \ + -I$(EPICS_BASE)/include/os/Linux \ + -I$(BOOST_BASE) + #-I${PYTHON_INCLUDE} + #-I$(BOOST_BASE)/boost + +LIB_DIR += -L$(EPICS_BASE)/lib/${EPICS_HOST_ARCH} \ + -Wl,-rpath,$(EPICS_BASE)/lib/${EPICS_HOST_ARCH} \ + -L$(CAFE_CPP_BASE)/$(CAFE_VERSION)/lib/${EPICS_HOST_ARCH} \ + -Wl,-rpath,$(CAFE_CPP_BASE)/$(CAFE_VERSION)/lib/${EPICS_HOST_ARCH} + #-L/opt/psi/Programming/gcc/10.3.0/lib64 -Wl,-rpath,/opt/psi/Programming/gcc/10.3.0/lib64 \ + #-L$(PYTHON_LIB) -Wl,-rpath,$(PYTHON_LIB) + + +LIBS += -lcafe -lca -lCom +#-lQt5Core -lpython3.7m + +${EPICS_HOST_ARCH}/cafeTest: cafeTest.cc callbacks.h + g++ cafeTest.cc -o ${EPICS_HOST_ARCH}/cafeTest \ + $(INCLUDE_PATH) $(LIB_DIR) $(LIBS) + +${EPICS_HOST_ARCH}/monitorTest: monitorTest.cc + g++ monitorTest.cc -o ${EPICS_HOST_ARCH}/monitorTest \ + $(INCLUDE_PATH) $(LIB_DIR) $(LIBS) + + + +clean: + rm -f ${EPICS_HOST_ARCH}/cafeTest.o ${EPICS_HOST_ARCH}/cafeTest ${EPICS_HOST_ARCH}/monitorTest.o ${EPICS_HOST_ARCH}/monitorTest + diff --git a/examples/cafeTest/makefile7_RHEL9 b/examples/cafeTest/makefile7_RHEL9 new file mode 100644 index 0000000..4990696 --- /dev/null +++ b/examples/cafeTest/makefile7_RHEL9 @@ -0,0 +1,56 @@ +# +# Jan Chrin +# June 2016 +# +# Makefile to build a simple C++ cafe client +# + +#-py37- libcafe.so: undefined reference to `cy_event_handler_wrapper +#CAFE version to link to +#CAFE_VERSION=cafe-1.14.4-sls2-gcc-7.3.0 +CAFE_VERSION=cafe-1.22.0-hipa-gcc-11.5.0 +#CAFE_VERSION=cafe-1.15.0-gcc-10.3.0 + +PYTHON_INCLUDE=/opt/gfa/python-3.7/latest/include/python3.7m +PYTHON_LIB=/opt/gfa/python-3.7/latest/lib + +EPICS_BASE=${EPICS}/base-7.0.10 + +#CAFE project base +CAFE_BASE=/psi.ch/project/cafe +CAFE_CPP_BASE=${CAFE_BASE}/bin/cpp + + +BOOST_BASE=${CAFE_BASE}/boost/boost_1_61_0/include + +INCLUDE_PATH += -I$(CAFE_CPP_BASE)/$(CAFE_VERSION)/include \ + -I$(EPICS_BASE)/include -I$(EPICS_BASE)/include/compiler/gcc \ + -I$(EPICS_BASE)/include/os/Linux \ + -I$(BOOST_BASE) + #-I${PYTHON_INCLUDE} + #-I$(BOOST_BASE)/boost + +LIB_DIR += -L$(EPICS_BASE)/lib/${EPICS_HOST_ARCH} \ + -Wl,-rpath,$(EPICS_BASE)/lib/${EPICS_HOST_ARCH} \ + -L$(CAFE_CPP_BASE)/$(CAFE_VERSION)/lib/${EPICS_HOST_ARCH} \ + -Wl,-rpath,$(CAFE_CPP_BASE)/$(CAFE_VERSION)/lib/${EPICS_HOST_ARCH} + #-L/opt/psi/Programming/gcc/10.3.0/lib64 -Wl,-rpath,/opt/psi/Programming/gcc/10.3.0/lib64 \ + #-L$(PYTHON_LIB) -Wl,-rpath,$(PYTHON_LIB) + + +LIBS += -lcafe -lca -lCom +#-lQt5Core -lpython3.7m + +${EPICS_HOST_ARCH}/cafeTest: cafeTest.cc callbacks.h + g++ cafeTest.cc -o ${EPICS_HOST_ARCH}/cafeTest \ + $(INCLUDE_PATH) $(LIB_DIR) $(LIBS) + +${EPICS_HOST_ARCH}/monitorTest: monitorTest.cc + g++ monitorTest.cc -o ${EPICS_HOST_ARCH}/monitorTest \ + $(INCLUDE_PATH) $(LIB_DIR) $(LIBS) + + + +clean: + rm -f ${EPICS_HOST_ARCH}/cafeTest.o ${EPICS_HOST_ARCH}/cafeTest ${EPICS_HOST_ARCH}/monitorTest.o ${EPICS_HOST_ARCH}/monitorTest + diff --git a/include/handleHelper.h b/include/handleHelper.h index a94c227..74c6a8a 100644 --- a/include/handleHelper.h +++ b/include/handleHelper.h @@ -257,7 +257,8 @@ public: int status=getTimeStamp(h, ts); if (status==ICAFE_NORMAL) { - std::string nsS = static_cast( &(std::ostringstream() << ts.nsec) )->str(); + //std::string nsS = static_cast( &(std::ostringstream() << ts.nsec) )->str(); + std::string nsS = std::to_string(ts.nsec); int l=nsS.length(); int startPos=std::max(l-6,0); std::string pidS = nsS.substr(startPos,std::min(6,l)); @@ -269,7 +270,8 @@ public: unsigned int getPulseIDFromTS(epicsTimeStamp ts) { unsigned int pulseID; - std::string nsS = static_cast( &(std::ostringstream() << ts.nsec) )->str(); + //std::string nsS = static_cast( &(std::ostringstream() << ts.nsec) )->str(); + std::string nsS = std::to_string(ts.nsec); int l=nsS.length(); int startPos=std::max(l-6,0); std::string pidS = nsS.substr(startPos,std::min(6,l)); diff --git a/include/makefile b/include/makefile index 53326b0..88686b9 100644 --- a/include/makefile +++ b/include/makefile @@ -1,7 +1,7 @@ -# makefile.in generated by automake 1.16.1 from makefile.am. +# makefile.in generated by automake 1.16.2 from makefile.am. # include/makefile. Generated from makefile.in by configure. -# Copyright (C) 1994-2018 Free Software Foundation, Inc. +# Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -197,24 +197,24 @@ ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing aclocal-1.16 +ACLOCAL = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing aclocal-1.16 AMTAR = $${TAR-tar} -AM_CPPFLAGS = -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -I/opt/gfa/cafe/boost/boost_1_61_0/include/boost -I/opt/gfa/cafe/boost/boost_1_61_0/include +AM_CPPFLAGS = -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -I/psi.ch/project/cafe/bin/boost/boost_1_91_0/boost -I/psi.ch/project/cafe/bin/boost/boost_1_91_0 AM_DEFAULT_VERBOSITY = 1 -AM_LDFLAGS = -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 +AM_LDFLAGS = -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 AR = ar -AUTOCONF = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing autoconf -AUTOHEADER = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing autoheader -AUTOMAKE = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing automake-1.16 +AUTOCONF = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing autoconf +AUTOHEADER = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing autoheader +AUTOMAKE = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing automake-1.16 AWK = gawk CAFE_CPPFLAGS = -I$(top_srcdir)/include -CC = /opt/psi/Programming/gcc/10.4.0/bin/gcc +CC = gcc CCDEPMODE = depmode=gcc3 CFLAGS = -g -O2 -CPP = /opt/psi/Programming/gcc/10.4.0/bin/gcc -E -CPPFLAGS = -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -I/opt/gfa/cafe/boost/boost_1_61_0/include/boost -I/opt/gfa/cafe/boost/boost_1_61_0/include -CXX = /opt/psi/Programming/gcc/10.4.0/bin/g++ -CXXCPP = /opt/psi/Programming/gcc/10.4.0/bin/g++ -E +CPP = gcc -E +CPPFLAGS = -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -I/psi.ch/project/cafe/bin/boost/boost_1_91_0/boost -I/psi.ch/project/cafe/bin/boost/boost_1_91_0 +CXX = g++ +CXXCPP = g++ -E CXXDEPMODE = depmode=gcc3 CXXFLAGS = -g -O2 CYGPATH_W = echo @@ -226,17 +226,17 @@ DUMPBIN = ECHO_C = ECHO_N = -n ECHO_T = -EGREP = /bin/grep -E +EGREP = /usr/bin/grep -E EXEEXT = -FGREP = /bin/grep -F -GREP = /bin/grep -INSTALL = /bin/install -c +FGREP = /usr/bin/grep -F +GREP = /usr/bin/grep +INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -LD = /bin/ld -m elf_x86_64 -LDFLAGS = -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 +LD = /usr/bin/ld -m elf_x86_64 +LDFLAGS = -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 LIBOBJS = LIBS = LIBTOOL = $(SHELL) $(top_builddir)/libtool @@ -244,10 +244,10 @@ LIPO = LN_S = ln -s LTLIBOBJS = LT_SYS_LIBRARY_PATH = -MAKEINFO = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing makeinfo +MAKEINFO = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing makeinfo MANIFEST_TOOL = : -MKDIR_P = /bin/mkdir -p -NM = /bin/nm -B +MKDIR_P = /usr/bin/mkdir -p +NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump OBJEXT = o @@ -262,18 +262,18 @@ PACKAGE_URL = PACKAGE_VERSION = 1.22.0 PATH_SEPARATOR = : RANLIB = ranlib -SED = /bin/sed +SED = /usr/bin/sed SET_MAKE = SHELL = /bin/sh STRIP = strip VERSION = 1.22.0 -abs_builddir = /afs/psi.ch/project/cafe/gitea/CAFE/cpp/include -abs_srcdir = /afs/psi.ch/project/cafe/gitea/CAFE/cpp/include -abs_top_builddir = /afs/psi.ch/project/cafe/gitea/CAFE/cpp -abs_top_srcdir = /afs/psi.ch/project/cafe/gitea/CAFE/cpp +abs_builddir = /psi.ch/group/8121/jan/gitea/CAFE/cpp/include +abs_srcdir = /psi.ch/group/8121/jan/gitea/CAFE/cpp/include +abs_top_builddir = /psi.ch/group/8121/jan/gitea/CAFE/cpp +abs_top_srcdir = /psi.ch/group/8121/jan/gitea/CAFE/cpp ac_ct_AR = ar -ac_ct_CC = /opt/psi/Programming/gcc/10.4.0/bin/gcc -ac_ct_CXX = +ac_ct_CC = gcc +ac_ct_CXX = g++ ac_ct_DUMPBIN = am__include = include am__leading_dot = . @@ -300,8 +300,8 @@ host_vendor = pc htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/install-sh -libdir = /opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0/lib/RHEL8-x86_64 +install_sh = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/install-sh +libdir = /psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0/lib/RHEL9-x86_64 libexecdir = ${exec_prefix}/libexec localedir = ${datarootdir}/locale localstatedir = ${prefix}/var @@ -309,9 +309,10 @@ mandir = ${datarootdir}/man mkdir_p = $(MKDIR_P) oldincludedir = /usr/include pdfdir = ${docdir} -prefix = /opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0 +prefix = /psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0 program_transform_name = s,x,x, psdir = ${docdir} +runstatedir = ${localstatedir}/run sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com srcdir = . diff --git a/libtool b/libtool index 6912278..09710a9 100755 --- a/libtool +++ b/libtool @@ -1,6 +1,6 @@ #! /bin/sh # Generated automatically by config.status (cafe) 1.22.0 -# Libtool was configured on host sls-lc8.psi.ch: +# Libtool was configured on host hipa-lc9.psi.ch: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. @@ -76,22 +76,22 @@ build=x86_64-pc-linux-gnu build_os=linux-gnu # A sed program that does not truncate output. -SED="/bin/sed" +SED="/usr/bin/sed" # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e 1s/^X//" # A grep program that handles long lines. -GREP="/bin/grep" +GREP="/usr/bin/grep" # An ERE matcher. -EGREP="/bin/grep -E" +EGREP="/usr/bin/grep -E" # A literal string matcher. -FGREP="/bin/grep -F" +FGREP="/usr/bin/grep -F" # A BSD- or MS-compatible name lister. -NM="/bin/nm -B" +NM="/usr/bin/nm -B" # Whether we need soft or hard links. LN_S="ln -s" @@ -162,7 +162,7 @@ old_postuninstall_cmds="" lock_old_archive_extraction=no # A C compiler. -LTCC="/opt/psi/Programming/gcc/10.4.0/bin/gcc" +LTCC="gcc" # LTCC compiler flags. LTCFLAGS="-g -O2" @@ -192,7 +192,7 @@ nm_file_list_spec="@" lt_sysroot= # Command to truncate a binary pipe. -lt_truncate_bin="/bin/dd bs=4096 count=1" +lt_truncate_bin="/usr/bin/dd bs=4096 count=1" # The name of the directory that contains temporary libtool files. objdir=.libs @@ -282,10 +282,10 @@ finish_eval="" hardcode_into_libs=yes # Compile-time system search path for libraries. -sys_lib_search_path_spec="/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/lib/gcc/x86_64-pc-linux-gnu/10.4.0 /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/lib/gcc /opt/psi/Programming/gcc/10.4.0/lib64 /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/lib64 /lib64 /usr/lib64 /opt/psi/Programming/gcc/10.4.0/lib /opt/psi/Tools/HDFView/3.1.2/lib /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/lib /lib /usr/lib " +sys_lib_search_path_spec="/usr/lib/gcc/x86_64-redhat-linux/11 /usr/lib64 /lib64 /usr/lib /lib " # Detected run-time system search path for libraries. -sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib64/atlas /usr/lib64/llvm17/lib/ /usr/lib/oracle/19.18/client64/lib /usr/lib64/tclx8.6 /usr/lib64/wine/ " +sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib /opt/caqtdm/lib/qt5 /opt/caqtdm/lib/qt5/designer /opt/caqtdm/lib/qt5/controlsystems /usr/local/epics/base-7.0.9/lib/RHEL9-x86_64 /usr/x86_64-w64-mingw32/lib/ /usr/lib/oracle/19.19/client64/lib /usr/lib64/pipewire-0.3/jack/ /usr/lib64/tclx8.6 " # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. configure_time_lt_sys_library_path="" @@ -305,7 +305,7 @@ striplib="strip --strip-unneeded" # The linker used to build libraries. -LD="/bin/ld -m elf_x86_64" +LD="/usr/bin/ld -m elf_x86_64" # How to create reloadable object files. reload_flag=" -r" @@ -315,7 +315,7 @@ reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib" # A language specific compiler. -CC="/opt/psi/Programming/gcc/10.4.0/bin/gcc" +CC="gcc" # Is the compiler the GNU compiler? with_gcc=yes @@ -2636,7 +2636,7 @@ fi # a configuration failure hint, and exit. func_fatal_configuration () { - func__fatal_error ${1+"$@"} \ + func_fatal_error ${1+"$@"} \ "See the $PACKAGE documentation for more information." \ "Fatal configuration error." } @@ -7732,11 +7732,6 @@ func_mode_link () arg=$func_stripname_result ;; - -Wl,--as-needed) - deplibs="$deplibs $arg" - continue - ;; - -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result @@ -7789,10 +7784,12 @@ func_mode_link () # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*) + -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ + -specs=*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg" @@ -8041,7 +8038,6 @@ func_mode_link () case $linkmode in lib) - as_needed_flag= passes="conv dlpreopen link" for file in $dlfiles $dlprefiles; do case $file in @@ -8053,7 +8049,6 @@ func_mode_link () done ;; prog) - as_needed_flag= compile_deplibs= finalize_deplibs= alldeplibs=false @@ -8123,15 +8118,6 @@ func_mode_link () lib= found=false case $deplib in - -Wl,--as-needed) - if test prog,link = "$linkmode,$pass" || - test lib,link = "$linkmode,$pass"; then - as_needed_flag="$deplib " - else - deplibs="$deplib $deplibs" - fi - continue - ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test prog,link = "$linkmode,$pass"; then @@ -10549,13 +10535,6 @@ EOF test "X$libobjs" = "X " && libobjs= fi - # A bit hacky. I had wanted to add \$as_needed_flag to archive_cmds instead, but that - # comes from libtool.m4 which is part of the project being built. This should put it - # in the right place though. - if test lib,link = "$linkmode,$pass" && test -n "$as_needed_flag"; then - libobjs=$as_needed_flag$libobjs - fi - save_ifs=$IFS; IFS='~' for cmd in $cmds; do IFS=$sp$nl @@ -10788,8 +10767,8 @@ EOF compile_deplibs=$new_libs - func_append compile_command " $as_needed_flag $compile_deplibs" - func_append finalize_command " $as_needed_flag $finalize_deplibs" + func_append compile_command " $compile_deplibs" + func_append finalize_command " $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. @@ -11684,7 +11663,7 @@ build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### BEGIN LIBTOOL TAG CONFIG: CXX # The linker used to build libraries. -LD="/bin/ld -m elf_x86_64" +LD="/usr/bin/ld -m elf_x86_64" # How to create reloadable object files. reload_flag=" -r" @@ -11694,7 +11673,7 @@ reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib" # A language specific compiler. -CC="/opt/psi/Programming/gcc/10.4.0/bin/g++" +CC="g++" # Is the compiler the GNU compiler? with_gcc=yes @@ -11815,17 +11794,17 @@ file_list_spec="" hardcode_action=immediate # The directories searched by this compiler when creating a shared library. -compiler_lib_search_dirs="/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0 /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc /opt/psi/Programming/gcc/10.4.0/lib64/../lib64 /opt/psi/Programming/gcc/10.4.0/lib/../lib64 /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0/../../../../lib64 /lib/../lib64 /usr/lib/../lib64 /opt/psi/Programming/gcc/10.4.0/lib64 /opt/psi/Programming/gcc/10.4.0/lib /opt/psi/Tools/HDFView/3.1.2/lib /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0/../../.." +compiler_lib_search_dirs="/usr/lib/gcc/x86_64-redhat-linux/11 /usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64 /lib/../lib64 /usr/lib/../lib64 /usr/lib/gcc/x86_64-redhat-linux/11/../../.." # Dependencies to place before and after the objects being linked to # create a shared library. -predep_objects="/lib/../lib64/crti.o /afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0/crtbeginS.o" -postdep_objects="/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0/crtendS.o /lib/../lib64/crtn.o" +predep_objects="/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/11/crtbeginS.o" +postdep_objects="/usr/lib/gcc/x86_64-redhat-linux/11/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crtn.o" predeps="" postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s" # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path="-L/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0 -L/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc -L/opt/psi/Programming/gcc/10.4.0/lib64/../lib64 -L/opt/psi/Programming/gcc/10.4.0/lib/../lib64 -L/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/psi/Programming/gcc/10.4.0/lib64 -L/opt/psi/Programming/gcc/10.4.0/lib -L/opt/psi/Tools/HDFView/3.1.2/lib -L/afs/psi.ch/sys/psi.ra/Programming/gcc/10.4.0/bin/../lib/gcc/x86_64-pc-linux-gnu/10.4.0/../../.." +compiler_lib_search_path="-L/usr/lib/gcc/x86_64-redhat-linux/11 -L/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/11/../../.." # ### END LIBTOOL TAG CONFIG: CXX diff --git a/m4/libtool.m4 b/m4/libtool.m4 index a3bc337..a644432 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -2867,6 +2867,9 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) # before this can be enabled. hardcode_into_libs=yes + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command @@ -2875,7 +2878,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on diff --git a/makefile b/makefile index f0e3644..2668a98 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,7 @@ -# makefile.in generated by automake 1.16.1 from makefile.am. +# makefile.in generated by automake 1.16.2 from makefile.am. # makefile. Generated from makefile.in by configure. -# Copyright (C) 1994-2018 Free Software Foundation, Inc. +# Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -240,24 +240,24 @@ distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print -ACLOCAL = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing aclocal-1.16 +ACLOCAL = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing aclocal-1.16 AMTAR = $${TAR-tar} -AM_CPPFLAGS = -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -I/opt/gfa/cafe/boost/boost_1_61_0/include/boost -I/opt/gfa/cafe/boost/boost_1_61_0/include -I$(top_srcdir)/include +AM_CPPFLAGS = -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -I/psi.ch/project/cafe/bin/boost/boost_1_91_0/boost -I/psi.ch/project/cafe/bin/boost/boost_1_91_0 -I$(top_srcdir)/include AM_DEFAULT_VERBOSITY = 1 -AM_LDFLAGS = -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 @CAFE_LIBS@ +AM_LDFLAGS = -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 @CAFE_LIBS@ AR = ar -AUTOCONF = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing autoconf -AUTOHEADER = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing autoheader -AUTOMAKE = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing automake-1.16 +AUTOCONF = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing autoconf +AUTOHEADER = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing autoheader +AUTOMAKE = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing automake-1.16 AWK = gawk CAFE_CPPFLAGS = -I$(top_srcdir)/include -CC = /opt/psi/Programming/gcc/10.4.0/bin/gcc +CC = gcc CCDEPMODE = depmode=gcc3 CFLAGS = -g -O2 -CPP = /opt/psi/Programming/gcc/10.4.0/bin/gcc -E -CPPFLAGS = -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -I/opt/gfa/cafe/boost/boost_1_61_0/include/boost -I/opt/gfa/cafe/boost/boost_1_61_0/include -CXX = /opt/psi/Programming/gcc/10.4.0/bin/g++ -CXXCPP = /opt/psi/Programming/gcc/10.4.0/bin/g++ -E +CPP = gcc -E +CPPFLAGS = -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -I/psi.ch/project/cafe/bin/boost/boost_1_91_0/boost -I/psi.ch/project/cafe/bin/boost/boost_1_91_0 +CXX = g++ +CXXCPP = g++ -E CXXDEPMODE = depmode=gcc3 CXXFLAGS = -g -O2 CYGPATH_W = echo @@ -269,17 +269,17 @@ DUMPBIN = ECHO_C = ECHO_N = -n ECHO_T = -EGREP = /bin/grep -E +EGREP = /usr/bin/grep -E EXEEXT = -FGREP = /bin/grep -F -GREP = /bin/grep -INSTALL = /bin/install -c +FGREP = /usr/bin/grep -F +GREP = /usr/bin/grep +INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -LD = /bin/ld -m elf_x86_64 -LDFLAGS = -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 +LD = /usr/bin/ld -m elf_x86_64 +LDFLAGS = -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 LIBOBJS = LIBS = LIBTOOL = $(SHELL) $(top_builddir)/libtool @@ -287,10 +287,10 @@ LIPO = LN_S = ln -s LTLIBOBJS = LT_SYS_LIBRARY_PATH = -MAKEINFO = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing makeinfo +MAKEINFO = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing makeinfo MANIFEST_TOOL = : -MKDIR_P = /bin/mkdir -p -NM = /bin/nm -B +MKDIR_P = /usr/bin/mkdir -p +NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump OBJEXT = o @@ -305,18 +305,18 @@ PACKAGE_URL = PACKAGE_VERSION = 1.22.0 PATH_SEPARATOR = : RANLIB = ranlib -SED = /bin/sed +SED = /usr/bin/sed SET_MAKE = SHELL = /bin/sh STRIP = strip VERSION = 1.22.0 -abs_builddir = /afs/psi.ch/project/cafe/gitea/CAFE/cpp -abs_srcdir = /afs/psi.ch/project/cafe/gitea/CAFE/cpp -abs_top_builddir = /afs/psi.ch/project/cafe/gitea/CAFE/cpp -abs_top_srcdir = /afs/psi.ch/project/cafe/gitea/CAFE/cpp +abs_builddir = /psi.ch/group/8121/jan/gitea/CAFE/cpp +abs_srcdir = /psi.ch/group/8121/jan/gitea/CAFE/cpp +abs_top_builddir = /psi.ch/group/8121/jan/gitea/CAFE/cpp +abs_top_srcdir = /psi.ch/group/8121/jan/gitea/CAFE/cpp ac_ct_AR = ar -ac_ct_CC = /opt/psi/Programming/gcc/10.4.0/bin/gcc -ac_ct_CXX = +ac_ct_CC = gcc +ac_ct_CXX = g++ ac_ct_DUMPBIN = am__include = include am__leading_dot = . @@ -343,8 +343,8 @@ host_vendor = pc htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/install-sh -libdir = /opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0/lib/RHEL8-x86_64 +install_sh = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/install-sh +libdir = /psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0/lib/RHEL9-x86_64 libexecdir = ${exec_prefix}/libexec localedir = ${datarootdir}/locale localstatedir = ${prefix}/var @@ -352,9 +352,10 @@ mandir = ${datarootdir}/man mkdir_p = $(MKDIR_P) oldincludedir = /usr/include pdfdir = ${docdir} -prefix = /opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0 +prefix = /psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0 program_transform_name = s,x,x, psdir = ${docdir} +runstatedir = ${localstatedir}/run sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com srcdir = . @@ -637,6 +638,10 @@ dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) +dist-zstd: distdir + tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst + $(am__post_remove_distdir) + dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @@ -679,6 +684,8 @@ distcheck: dist eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ + *.tar.zst*) \ + zstd -dc $(distdir).tar.zst | $(am__untar) ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) @@ -859,18 +866,19 @@ uninstall-am: uninstall-includeHEADERS am--refresh check check-am clean clean-cscope clean-generic \ clean-libtool cscope cscopelist-am ctags ctags-am dist \ dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ - dist-xz dist-zip distcheck distclean distclean-generic \ - distclean-hdr distclean-libtool distclean-tags distcleancheck \ - distdir distuninstallcheck dvi dvi-am html html-am info \ - info-am install install-am install-data install-data-am \ - install-dvi install-dvi-am install-exec install-exec-am \ - install-html install-html-am install-includeHEADERS \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - installcheck installcheck-am installdirs installdirs-am \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags tags-am uninstall uninstall-am uninstall-includeHEADERS + dist-xz dist-zip dist-zstd distcheck distclean \ + distclean-generic distclean-hdr distclean-libtool \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-includeHEADERS install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am uninstall-includeHEADERS .PRECIOUS: makefile diff --git a/src/makefile b/src/makefile index fe765a7..656ab6b 100644 --- a/src/makefile +++ b/src/makefile @@ -1,7 +1,7 @@ -# makefile.in generated by automake 1.16.1 from makefile.am. +# makefile.in generated by automake 1.16.2 from makefile.am. # src/makefile. Generated from makefile.in by configure. -# Copyright (C) 1994-2018 Free Software Foundation, Inc. +# Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -266,7 +266,7 @@ ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/makefile.in $(top_srcdir)/./depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing aclocal-1.16 +ACLOCAL = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing aclocal-1.16 AMTAR = $${TAR-tar} #if HAVE_PYCAFE_EXT_ @@ -276,22 +276,22 @@ AMTAR = $${TAR-tar} #if HAVE_PYTHON_ #libcafe_la_SOURCES += pycafe/PyCafe.cpp #endif -AM_CPPFLAGS = -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -I/opt/gfa/cafe/boost/boost_1_61_0/include/boost -I/opt/gfa/cafe/boost/boost_1_61_0/include -I$(top_srcdir)/include +AM_CPPFLAGS = -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -I/psi.ch/project/cafe/bin/boost/boost_1_91_0/boost -I/psi.ch/project/cafe/bin/boost/boost_1_91_0 -I$(top_srcdir)/include AM_DEFAULT_VERBOSITY = 1 -AM_LDFLAGS = -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 +AM_LDFLAGS = -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 AR = ar -AUTOCONF = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing autoconf -AUTOHEADER = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing autoheader -AUTOMAKE = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing automake-1.16 +AUTOCONF = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing autoconf +AUTOHEADER = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing autoheader +AUTOMAKE = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing automake-1.16 AWK = gawk CAFE_CPPFLAGS = -I$(top_srcdir)/include -CC = /opt/psi/Programming/gcc/10.4.0/bin/gcc +CC = gcc CCDEPMODE = depmode=gcc3 CFLAGS = -g -O2 -CPP = /opt/psi/Programming/gcc/10.4.0/bin/gcc -E -CPPFLAGS = -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.9/include/ -I/usr/local/epics/base-7.0.9/include/os/Linux -I/usr/local/epics/base-7.0.9/include/compiler/gcc -I/opt/gfa/cafe/boost/boost_1_61_0/include/boost -I/opt/gfa/cafe/boost/boost_1_61_0/include -CXX = /opt/psi/Programming/gcc/10.4.0/bin/g++ -CXXCPP = /opt/psi/Programming/gcc/10.4.0/bin/g++ -E +CPP = gcc -E +CPPFLAGS = -fexceptions -fPIC -std=c++1z -z nodefs -I/usr/local/epics/base-7.0.10/include/ -I/usr/local/epics/base-7.0.10/include/os/Linux -I/usr/local/epics/base-7.0.10/include/compiler/gcc -I/psi.ch/project/cafe/bin/boost/boost_1_91_0/boost -I/psi.ch/project/cafe/bin/boost/boost_1_91_0 +CXX = g++ +CXXCPP = g++ -E CXXDEPMODE = depmode=gcc3 CXXFLAGS = -g -O2 CYGPATH_W = echo @@ -303,17 +303,17 @@ DUMPBIN = ECHO_C = ECHO_N = -n ECHO_T = -EGREP = /bin/grep -E +EGREP = /usr/bin/grep -E EXEEXT = -FGREP = /bin/grep -F -GREP = /bin/grep -INSTALL = /bin/install -c +FGREP = /usr/bin/grep -F +GREP = /usr/bin/grep +INSTALL = /usr/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -LD = /bin/ld -m elf_x86_64 -LDFLAGS = -L/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.9/lib/RHEL8-x86_64 +LD = /usr/bin/ld -m elf_x86_64 +LDFLAGS = -L/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 -Wl,-rpath,/usr/local/epics/base-7.0.10/lib/RHEL9-x86_64 LIBOBJS = LIBS = LIBTOOL = $(SHELL) $(top_builddir)/libtool @@ -321,10 +321,10 @@ LIPO = LN_S = ln -s LTLIBOBJS = LT_SYS_LIBRARY_PATH = -MAKEINFO = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/missing makeinfo +MAKEINFO = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/missing makeinfo MANIFEST_TOOL = : -MKDIR_P = /bin/mkdir -p -NM = /bin/nm -B +MKDIR_P = /usr/bin/mkdir -p +NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump OBJEXT = o @@ -339,18 +339,18 @@ PACKAGE_URL = PACKAGE_VERSION = 1.22.0 PATH_SEPARATOR = : RANLIB = ranlib -SED = /bin/sed +SED = /usr/bin/sed SET_MAKE = SHELL = /bin/sh STRIP = strip VERSION = 1.22.0 -abs_builddir = /afs/psi.ch/project/cafe/gitea/CAFE/cpp/src -abs_srcdir = /afs/psi.ch/project/cafe/gitea/CAFE/cpp/src -abs_top_builddir = /afs/psi.ch/project/cafe/gitea/CAFE/cpp -abs_top_srcdir = /afs/psi.ch/project/cafe/gitea/CAFE/cpp +abs_builddir = /psi.ch/group/8121/jan/gitea/CAFE/cpp/src +abs_srcdir = /psi.ch/group/8121/jan/gitea/CAFE/cpp/src +abs_top_builddir = /psi.ch/group/8121/jan/gitea/CAFE/cpp +abs_top_srcdir = /psi.ch/group/8121/jan/gitea/CAFE/cpp ac_ct_AR = ar -ac_ct_CC = /opt/psi/Programming/gcc/10.4.0/bin/gcc -ac_ct_CXX = +ac_ct_CC = gcc +ac_ct_CXX = g++ ac_ct_DUMPBIN = am__include = include am__leading_dot = . @@ -377,8 +377,8 @@ host_vendor = pc htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /afs/psi.ch/project/cafe/gitea/CAFE/cpp/install-sh -libdir = /opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0/lib/RHEL8-x86_64 +install_sh = ${SHELL} /psi.ch/group/8121/jan/gitea/CAFE/cpp/install-sh +libdir = /psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0/lib/RHEL9-x86_64 libexecdir = ${exec_prefix}/libexec localedir = ${datarootdir}/locale localstatedir = ${prefix}/var @@ -386,9 +386,10 @@ mandir = ${datarootdir}/man mkdir_p = $(MKDIR_P) oldincludedir = /usr/include pdfdir = ${docdir} -prefix = /opt/gfa/cafe/cpp/cafe-1.22.0-gcc-10.4.0 +prefix = /psi.ch/project/cafe/bin/cpp/cafe-1.22.0-hipa-gcc-11.5.0 program_transform_name = s,x,x, psdir = ${docdir} +runstatedir = ${localstatedir}/run sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com srcdir = .