Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-cicd
misc
build-sextractor
Commits
82f12031
Commit
82f12031
authored
Dec 11, 2023
by
BO ZHANG
🏀
Browse files
update
parent
9b26b1b2
Changes
3
Show whitespace changes
Inline
Side-by-side
Dockerfile
deleted
100644 → 0
View file @
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
build.sh
0 → 100644
View file @
82f12031
#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
docker-compose.yml
0 → 100644
View file @
82f12031
# 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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment