Commit 82f12031 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

update

parent 9b26b1b2
FROM intel/oneapi-basekit:latest
RUN apt update \
&& apt -y install cmake pkg-config build-essential autoconf libtool libatlas-base-dev libfftw3-dev libopenblas-dev gawk
RUN . /opt/intel/oneapi/setvars.sh --force
#docker run --rm -it intel/oneapi-hpckit:devel-ubuntu22.04 bash
set -eux
# remove intel repos
rm /etc/apt/sources.list.d/*.list
apt-get update
apt-get install -y \
git \
cmake \
pkg-config \
build-essential \
autoconf \
libtool \
libatlas-base-dev \
libfftw3-dev \
libopenblas-dev \
libcfitsio-dev \
gawk
#. /opt/intel/oneapi/setvars.sh --force
# make link for icc (use icpx actually)
#DIR_ICC=$(dirname "$(which icpx)")
#echo 'icpx -fsycl "$@"' > "${DIR_ICC}"/icc
##echo 'dpcpp "$@"' > "${DIR_ICC}"/icc
#chmod +x "${DIR_ICC}"/icc
cp -r /sextractor /build
cd build
sh autogen.sh
./configure --enable-icc --enable-mkl --enable-auto-flags --enable-best-link
make -j
cp /build/src/sex /sextractor/sex
chown 1000:1000 /sextractor/sex
# Test for pipeline
version: '3'
services:
build:
image: intel/oneapi-hpckit:devel-ubuntu22.04
container_name: build-sextractor
user: root
volumes:
- ./sextractor:/sextractor
- ./build.sh:/build.sh
command: >
bash /build.sh
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment