Commit bed7e482 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 948a4978
#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
......@@ -16,22 +15,24 @@ apt-get install -y \
libopenblas-dev \
libcfitsio-dev \
gawk
# initialize oneapi environment
#. /opt/intel/oneapi/setvars.sh --force
# make link for icc (use icpx actually)
# make link for icc if necessary
#DIR_ICC=$(dirname "$(which icpx)")
#echo 'icpx -fsycl "$@"' > "${DIR_ICC}"/icc
##echo 'dpcpp "$@"' > "${DIR_ICC}"/icc
#chmod +x "${DIR_ICC}"/icc
# build sextractor
cp -r /build/sextractor /build/sextractor-build
cd /build/sextractor-build
cp -r /build/sextractor /build/tmp
cd /build/tmp
sh autogen.sh
./configure --enable-icc --enable-mkl --enable-auto-flags --enable-best-link
make -j
cp /build/sextractor-build/src/sex /build/
rm -rf /sextractor-build
cp /build/tmp/src/sex /build/
rm -rf /build/tmp
chown 1000:1000 /build/sex
# Test for pipeline
version: '3'
services:
build:
......
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