File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change 11using BinaryBuilder
22
33name = " NLopt"
4- version = v " 2.8 .0"
4+ version = v " 2.9 .0"
55
66# Collection of sources required to build NLopt
77sources = [
88 GitSource (" https://github.com/stevengj/nlopt.git" ,
9- " 58995c25b4d918759a107bd52a457122343b9c6d " ), # v2.8 .0
9+ " c500b5044482b17cf0f85de1ca66d036efecf668 " ), # v2.9 .0
1010]
1111
1212# Bash recipe for building across all platforms
1313script = raw """
1414cd $WORKSPACE/srcdir/nlopt
15- mkdir build
16- cd build
17- cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} -DNLOPT_PYTHON=Off -DNLOPT_OCTAVE=Off -DNLOPT_MATLAB=Off -DNLOPT_GUILE=Off -DNLOPT_SWIG=Off -DNLOPT_LINK_PYTHON=Off ..
18- make -j${nproc}
19- make install
15+ cmake -B build \
16+ -DCMAKE_INSTALL_PREFIX=$prefix \
17+ -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} \
18+ -DNLOPT_PYTHON=Off \
19+ -DNLOPT_OCTAVE=Off \
20+ -DNLOPT_MATLAB=Off \
21+ -DNLOPT_GUILE=Off \
22+ -DNLOPT_SWIG=Off \
23+ -DNLOPT_LINK_PYTHON=Off
24+ cmake --build build --parallel ${nproc}
25+ cmake --install build
2026"""
2127
2228# These are the platforms we will build for by default, unless further
2329# platforms are passed in on the command line
24- platforms = expand_cxxstring_abis (supported_platforms (; experimental = true )) # build on all supported platforms
30+ platforms = expand_cxxstring_abis (supported_platforms ()) # build on all supported platforms
2531
2632# The products that we will ensure are always built
2733products = [
2834 LibraryProduct (" libnlopt" , :libnlopt ),
2935]
3036
3137# Dependencies that must be installed before this package can be built
32- dependencies = [
38+ dependencies = Dependency [
3339]
3440
3541# Build the tarballs, and possibly a `build.jl` as well.
You can’t perform that action at this time.
0 commit comments