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
bed7e482
Commit
bed7e482
authored
Dec 11, 2023
by
BO ZHANG
🏀
Browse files
tweaks
parent
948a4978
Changes
2
Hide whitespace changes
Inline
Side-by-side
build.sh
View file @
bed7e482
#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
docker-compose.yml
View file @
bed7e482
# Test for pipeline
version
:
'
3'
services
:
build
:
...
...
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