Skip to content

Commit a18b0d7

Browse files
committed
Add missing pkgconfig files
1 parent 87804b8 commit a18b0d7

5 files changed

Lines changed: 78 additions & 2 deletions

File tree

containers/singularity/ubuntu18.04.def

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,21 @@ From: ubuntu:18.04
123123
# Customizations
124124
###########################################################################
125125

126+
# create missing readline pkgconfig file
127+
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
128+
prefix=/usr
129+
exec_prefix=/usr
130+
libdir=/usr/lib/x86_64-linux-gnu
131+
includedir=/usr/include
132+
133+
Name: Readline
134+
Description: GNU Readline library for command line editing
135+
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
136+
Version: 7.0
137+
Requires.private: tinfo
138+
Libs: -L\${libdir} -lreadline
139+
Cflags: -I\${includedir}/readline
140+
EOF
126141
# set custom prompt indicating the container name
127142
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
128143
cat >$CUSTOM_PROMPT_ENV <<EOF

containers/singularity/ubuntu18.04_amd_rocm.def

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ From: ubuntu:18.04
5757
libopenblas-dev \
5858
libnuma-dev \
5959
libpng-dev \
60-
libreadline-dev \
6160
libproj-dev \
61+
libreadline-dev \
6262
libvtk6-dev \
6363
libyaml-dev \
6464
libzstd-dev \
@@ -147,6 +147,21 @@ From: ubuntu:18.04
147147
# Customizations
148148
###########################################################################
149149

150+
# create missing readline pkgconfig file
151+
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
152+
prefix=/usr
153+
exec_prefix=/usr
154+
libdir=/usr/lib/x86_64-linux-gnu
155+
includedir=/usr/include
156+
157+
Name: Readline
158+
Description: GNU Readline library for command line editing
159+
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
160+
Version: 7.0
161+
Requires.private: tinfo
162+
Libs: -L\${libdir} -lreadline
163+
Cflags: -I\${includedir}/readline
164+
EOF
150165
# set custom prompt indicating the container name
151166
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
152167
cat >$CUSTOM_PROMPT_ENV <<EOF

containers/singularity/ubuntu18.04_gpu.def

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,21 @@ From: ubuntu:18.04
179179
# Customizations
180180
###########################################################################
181181

182+
# create missing readline pkgconfig file
183+
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
184+
prefix=/usr
185+
exec_prefix=/usr
186+
libdir=/usr/lib/x86_64-linux-gnu
187+
includedir=/usr/include
188+
189+
Name: Readline
190+
Description: GNU Readline library for command line editing
191+
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
192+
Version: 7.0
193+
Requires.private: tinfo
194+
Libs: -L\${libdir} -lreadline
195+
Cflags: -I\${includedir}/readline
196+
EOF
182197
# set custom prompt indicating the container name
183198
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
184199
cat >$CUSTOM_PROMPT_ENV <<EOF

containers/singularity/ubuntu18.04_intel_opencl.def

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ From: ubuntu:18.04
3434
libhwloc-dev \
3535
libjpeg-dev \
3636
liblapack-dev \
37+
libnetcdf-dev \
3738
libomp-dev \
3839
libopenblas-dev \
3940
libnuma-dev \
@@ -123,6 +124,21 @@ From: ubuntu:18.04
123124
# Customizations
124125
###########################################################################
125126

127+
# create missing readline pkgconfig file
128+
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
129+
prefix=/usr
130+
exec_prefix=/usr
131+
libdir=/usr/lib/x86_64-linux-gnu
132+
includedir=/usr/include
133+
134+
Name: Readline
135+
Description: GNU Readline library for command line editing
136+
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
137+
Version: 7.0
138+
Requires.private: tinfo
139+
Libs: -L\${libdir} -lreadline
140+
Cflags: -I\${includedir}/readline
141+
EOF
126142
# set custom prompt indicating the container name
127143
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
128144
cat >$CUSTOM_PROMPT_ENV <<EOF
@@ -138,7 +154,6 @@ EOF
138154
# clean cache
139155
rm -rf /var/lib/apt/lists/*
140156

141-
142157
%environment
143158
LC_ALL=C
144159
export LC_ALL

containers/singularity/ubuntu18.04_nvidia.def

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ From: nvidia/cuda:11.0-devel-ubuntu18.04
3434
libhwloc-dev \
3535
libjpeg-dev \
3636
liblapack-dev \
37+
libnetcdf-dev \
3738
libomp-dev \
3839
libopenblas-dev \
3940
libnuma-dev \
@@ -122,6 +123,21 @@ From: nvidia/cuda:11.0-devel-ubuntu18.04
122123
# Customizations
123124
###########################################################################
124125

126+
# create missing readline pkgconfig file
127+
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
128+
prefix=/usr
129+
exec_prefix=/usr
130+
libdir=/usr/lib/x86_64-linux-gnu
131+
includedir=/usr/include
132+
133+
Name: Readline
134+
Description: GNU Readline library for command line editing
135+
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
136+
Version: 7.0
137+
Requires.private: tinfo
138+
Libs: -L\${libdir} -lreadline
139+
Cflags: -I\${includedir}/readline
140+
EOF
125141
# set custom prompt indicating the container name
126142
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
127143
cat >$CUSTOM_PROMPT_ENV <<EOF

0 commit comments

Comments
 (0)