-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
build: add openssl-devel for cargo-c (#84)
1 parent
95b3749
commit 8759158
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,9 +10,11 @@ RUN yum-config-manager --enable powertools | |
RUN dnf module -y enable javapackages-tools | ||
#RUN dnf module -y enable subversion-devel #useful for utf8proc-devel | ||
RUN yum -y install createrepo wget bzip2 patch make cmake cmake3 ctags automake texinfo file gcc gcc-c++ gcc-gfortran python3 libtool bison flex flex-devel perl-XML-Parser swig gettext libjpeg-turbo freetype fontconfig jasper-libs zlib-devel bzip2-devel libjpeg-turbo-devel freetype-devel fontconfig-devel rpm-build xz xz-devel expat-devel bc which git nspr-devel nss-devel popt-devel elfutils-devel elfutils elfutils-libelf-devel elfutils-libelf elfutils-libs openblas-devel valgrind ncurses-devel gperf libX11-devel libXft-devel libXrender-devel libXext-devel pixman-devel rpcgen libaec-devel tcsh libXmu-devel libXt-devel libXaw-devel byacc imake gsl-devel pcre-devel libev-devel c-ares-devel glib2-devel json-c-devel libxml2-devel libxslt-devel oniguruma-devel libpng-devel graphviz-devel tcl-devel tk-devel libtiff-devel openjpeg2-devel jasper-devel cairo-devel fribidi-devel harfbuzz-devel pango-devel gdbm-devel librsvg2-devel libffi-devel autoconf-archive antlr-C++ antlr-tool uwsgi-plugin-common uwsgi-devel libcap-devel libnghttp2-devel pcre2-devel libzstd-devel lz4-devel mpich-devel rust cargo perl-IPC-Cmd perl-Pod-Html && rpm -qa |sort | md5sum |awk '{print $1;}' >/etc/buildimage_hash | ||
#Install scl gcc-toolset-11) | ||
#Install scl gcc-toolset-11 | ||
RUN yum -y install gcc-toolset-11 gcc-toolset-11-annobin-plugin-gcc | ||
RUN cd /opt/rh/gcc-toolset-11/root/usr/lib/gcc/x86_64-redhat-linux/11/plugin && ln -s annobin.so gcc-annobin.so | ||
#openssl-devel required for cargo-c | ||
RUN yum -y install openssl-devel | ||
RUN cargo install [email protected]+cargo-0.82.0 --locked | ||
ADD make_openblas_pc.sh /root | ||
RUN chmod +x /root/make_openblas_pc.sh && /root/make_openblas_pc.sh | ||
|