Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathieu Besançon
scipopt-crossbuilder
Commits
5a64b68a
Commit
5a64b68a
authored
Dec 06, 2021
by
Mathieu Besançon
Browse files
sections for filters
parent
3f38ade4
Changes
1
Hide whitespace changes
Inline
Side-by-side
builder.jl
View file @
5a64b68a
...
...
@@ -42,8 +42,22 @@ cp $WORKSPACE/srcdir/scipoptsuite*/gcg/LICENSE ${prefix}/share/licenses/SCIP_PaP
# platforms are passed in on the command line
platforms
=
expand_gfortran_versions
(
expand_cxxstring_abis
(
supported_platforms
(;
experimental
=
true
)))
# ARM versions don't support TBB
filter!
(
platforms
)
do
p
arch
(
p
)
∉
(
"armv6l"
,
"armv7l"
)
&&
!
Sys
.
iswindows
(
p
)
&&
libgfortran_version
(
p
)
>=
v
"4"
&&
libc
(
p
)
!=
"musl"
arch
(
p
)
∉
(
"armv6l"
,
"armv7l"
)
end
# libgfortran for papilo
filter!
(
platforms
)
do
p
libgfortran_version
(
p
)
>=
v
"4"
end
# Windows not building
filter!
(
!
Sys
.
iswindows
,
platforms
)
# Musl C library
filter!
(
platforms
)
do
p
libc
(
p
)
!=
"musl"
end
@info
(
"Building on platforms:
\n
"
*
join
(
string
.
(
platforms
),
",
\n
"
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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