forked from lijiext/lammps
update singularity definitions for readline 6/7 to have a pkg-config file
This commit is contained in:
parent
234f27514f
commit
865b159d16
|
@ -17,6 +17,21 @@ From: ubuntu:16.04
|
|||
python3-setuptools python3-virtualenv \
|
||||
enchant
|
||||
|
||||
# create missing readline pkgconfig file
|
||||
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
libdir=/usr/lib/x86_64-linux-gnu
|
||||
includedir=/usr/include
|
||||
|
||||
Name: Readline
|
||||
Description: GNU Readline library for command line editing
|
||||
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
|
||||
Version: 6.3
|
||||
Requires.private: tinfo
|
||||
Libs: -L\${libdir} -lreadline
|
||||
Cflags: -I\${includedir}/readline
|
||||
EOF
|
||||
# set custom prompt indicating the container name
|
||||
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
|
||||
cat >$CUSTOM_PROMPT_ENV <<EOF
|
||||
|
|
|
@ -123,6 +123,21 @@ From: ubuntu:18.04
|
|||
# Customizations
|
||||
###########################################################################
|
||||
|
||||
# create missing readline pkgconfig file
|
||||
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
libdir=/usr/lib/x86_64-linux-gnu
|
||||
includedir=/usr/include
|
||||
|
||||
Name: Readline
|
||||
Description: GNU Readline library for command line editing
|
||||
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
|
||||
Version: 7.0
|
||||
Requires.private: tinfo
|
||||
Libs: -L\${libdir} -lreadline
|
||||
Cflags: -I\${includedir}/readline
|
||||
EOF
|
||||
# set custom prompt indicating the container name
|
||||
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
|
||||
cat >$CUSTOM_PROMPT_ENV <<EOF
|
||||
|
|
|
@ -57,8 +57,8 @@ From: ubuntu:18.04
|
|||
libopenblas-dev \
|
||||
libnuma-dev \
|
||||
libpng-dev \
|
||||
libreadline-dev \
|
||||
libproj-dev \
|
||||
libreadline-dev \
|
||||
libvtk6-dev \
|
||||
libyaml-dev \
|
||||
libzstd-dev \
|
||||
|
@ -147,6 +147,21 @@ From: ubuntu:18.04
|
|||
# Customizations
|
||||
###########################################################################
|
||||
|
||||
# create missing readline pkgconfig file
|
||||
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
libdir=/usr/lib/x86_64-linux-gnu
|
||||
includedir=/usr/include
|
||||
|
||||
Name: Readline
|
||||
Description: GNU Readline library for command line editing
|
||||
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
|
||||
Version: 7.0
|
||||
Requires.private: tinfo
|
||||
Libs: -L\${libdir} -lreadline
|
||||
Cflags: -I\${includedir}/readline
|
||||
EOF
|
||||
# set custom prompt indicating the container name
|
||||
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
|
||||
cat >$CUSTOM_PROMPT_ENV <<EOF
|
||||
|
|
|
@ -179,6 +179,21 @@ From: ubuntu:18.04
|
|||
# Customizations
|
||||
###########################################################################
|
||||
|
||||
# create missing readline pkgconfig file
|
||||
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
libdir=/usr/lib/x86_64-linux-gnu
|
||||
includedir=/usr/include
|
||||
|
||||
Name: Readline
|
||||
Description: GNU Readline library for command line editing
|
||||
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
|
||||
Version: 7.0
|
||||
Requires.private: tinfo
|
||||
Libs: -L\${libdir} -lreadline
|
||||
Cflags: -I\${includedir}/readline
|
||||
EOF
|
||||
# set custom prompt indicating the container name
|
||||
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
|
||||
cat >$CUSTOM_PROMPT_ENV <<EOF
|
||||
|
|
|
@ -34,6 +34,7 @@ From: ubuntu:18.04
|
|||
libhwloc-dev \
|
||||
libjpeg-dev \
|
||||
liblapack-dev \
|
||||
libnetcdf-dev \
|
||||
libomp-dev \
|
||||
libopenblas-dev \
|
||||
libnuma-dev \
|
||||
|
@ -123,6 +124,21 @@ From: ubuntu:18.04
|
|||
# Customizations
|
||||
###########################################################################
|
||||
|
||||
# create missing readline pkgconfig file
|
||||
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
libdir=/usr/lib/x86_64-linux-gnu
|
||||
includedir=/usr/include
|
||||
|
||||
Name: Readline
|
||||
Description: GNU Readline library for command line editing
|
||||
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
|
||||
Version: 7.0
|
||||
Requires.private: tinfo
|
||||
Libs: -L\${libdir} -lreadline
|
||||
Cflags: -I\${includedir}/readline
|
||||
EOF
|
||||
# set custom prompt indicating the container name
|
||||
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
|
||||
cat >$CUSTOM_PROMPT_ENV <<EOF
|
||||
|
@ -138,7 +154,6 @@ EOF
|
|||
# clean cache
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
%environment
|
||||
LC_ALL=C
|
||||
export LC_ALL
|
||||
|
|
|
@ -34,6 +34,7 @@ From: nvidia/cuda:11.0-devel-ubuntu18.04
|
|||
libhwloc-dev \
|
||||
libjpeg-dev \
|
||||
liblapack-dev \
|
||||
libnetcdf-dev \
|
||||
libomp-dev \
|
||||
libopenblas-dev \
|
||||
libnuma-dev \
|
||||
|
@ -122,6 +123,21 @@ From: nvidia/cuda:11.0-devel-ubuntu18.04
|
|||
# Customizations
|
||||
###########################################################################
|
||||
|
||||
# create missing readline pkgconfig file
|
||||
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
libdir=/usr/lib/x86_64-linux-gnu
|
||||
includedir=/usr/include
|
||||
|
||||
Name: Readline
|
||||
Description: GNU Readline library for command line editing
|
||||
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
|
||||
Version: 7.0
|
||||
Requires.private: tinfo
|
||||
Libs: -L\${libdir} -lreadline
|
||||
Cflags: -I\${includedir}/readline
|
||||
EOF
|
||||
# set custom prompt indicating the container name
|
||||
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
|
||||
cat >$CUSTOM_PROMPT_ENV <<EOF
|
||||
|
|
Loading…
Reference in New Issue