-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
51 lines (39 loc) · 1.63 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
RSYNC= rsync
RSYNC_FLAGS= -a --progress --delete --exclude=work
POUDRIERE= sudo poudriere
POUDRIERE_FLAGS=testport -p dev -w
PORTSTREE?= /home/iblis/ports/dev
OPTION_SETS= openblas jlall syslibm
all: julia julia07 julia06 julia10 julia11 julia12
.PHONY: julia
julia:
${RSYNC} ${RSYNC_FLAGS} julia/ ${PORTSTREE}/lang/julia/
.PHONY: julia06 julia07 julia10 julia11 julia12
julia06 julia07 julia10 julia11 julia12:
${RSYNC} ${RSYNC_FLAGS} ${.TARGET}/ ${PORTSTREE}/lang/${.TARGET}/
.PHONY: options
options:
sudo ln -sfF ${PWD}/options/openblas /usr/local/etc/poudriere.d/openblas-options
sudo ln -sfF ${PWD}/options/jlall /usr/local/etc/poudriere.d/jlall-options
sudo ln -sfF ${PWD}/options/syslibm /usr/local/etc/poudriere.d/syslibm-options
PORTNAME= ${.TARGET:S/test-//}
.PHONY: test-julia06 test-julia07 test-julia10 test-julia11 test-julia12
test-julia06 test-julia07 test-julia10 test-julia11 test-julia12: ${.TARGET:S/test-//} options
.for jail in 120r 120r-i386 113r 113r-i386
${POUDRIERE} ${POUDRIERE_FLAGS} -j ${jail} -o lang/${PORTNAME}
.for set in ${OPTION_SETS}
${POUDRIERE} ${POUDRIERE_FLAGS} -j ${jail} -o lang/${PORTNAME} -z ${set}
.endfor
.endfor
.PHONY: test-julia
test-julia: all
.for jail in 120r 120r-i386 112r 112r-i386
${POUDRIERE} ${POUDRIERE_FLAGS} -j ${jail} -o lang/julia
.endfor
.PHONY: sync-portstree
sync-portstree:
${RSYNC} ${RSYNC_FLAGS} ${PORTSTREE}/lang/julia06/ julia06/
${RSYNC} ${RSYNC_FLAGS} ${PORTSTREE}/lang/julia07/ julia07/
${RSYNC} ${RSYNC_FLAGS} ${PORTSTREE}/lang/julia10/ julia10/
${RSYNC} ${RSYNC_FLAGS} ${PORTSTREE}/lang/julia11/ julia11/
${RSYNC} ${RSYNC_FLAGS} ${PORTSTREE}/lang/julia/ julia/