From nobody Sat May 27 14:59:15 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QT4gl2C6Qz4Cq6B; Sat, 27 May 2023 14:59:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QT4gl1hYLz3Kdf; Sat, 27 May 2023 14:59:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685199555; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Lbq1poLAJdKvmVMPaLRSvyAmoEWz8G+Co5bi4pdPxHU=; b=rBzYa8K95mBTUGX1IrlvTxqRrLSxqLpmU9IvequnXmQKXf6ubwFqvsiG0Uvp7ZVLzoWfLW GRsgRuI8BXcGvgTZ/EtnuqmdbDZMUdHdVaD1P5/IS7GzaNwjup9vz9o1zP2uJymrB1TPd/ 7iyJ1O4Rphj+dkCpAQ6vgugX3zAXqYmFMCVsgGM7UrEWuLGXdYr2gv7AAlz51fI3WsZKeR FTylf49XdQClcaSDOOoGLGUdLjdnRndKQGdprTOlr5SmsWj27KGrIW7Vvu05wPQgsN4ab1 D5dfp/gaM0fYElZof/J/uq+HG4lLnspNywWS2ZTK11ghMyLRI1ImuIf+/VkDRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685199555; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Lbq1poLAJdKvmVMPaLRSvyAmoEWz8G+Co5bi4pdPxHU=; b=NazwtJjIFAXoVVzu8qzSug2v+BXXJVYN9ep+ARnnESGgZVqatoCW9ckpEiKQnbxCDLYVPn gZT3Ggr+FhQIkNFKztbRnImfdqNaZSWRYG+FYFaLk+F6gAW+GUb5mNKd+WFLZ5JXTwVKJj UwTzwZEK9wnKwMTK8ndsy33AJztUiGbxXcxEfmQKGgY2uDEHkBUc2LvinE7AgT3koWMg52 8yXAzKwFjWutVJOAyeJ5UtJMTxrQoWJSSmvXhvhAdImQ/I6bPwf7JgRgR69KqNXcSZrfKS PkvxSXdCE6Xzb76y1iigCrRCBNfZXkjQM+r2KCmkKY2mzUodfg3Kvfjn4mcfJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685199555; a=rsa-sha256; cv=none; b=fPivtbETM4rEPVtuMq55ZFHSKxpqUCgZ3yfrckHZTcaQvsEUNTDxhJqHhYP2ZVRPGZgpdx pZ/PhBqezNzpTSZ2G0YYOHv6bg2jHsBGrShqCOcQCDd5gwRZyzZJu7ayiuTWPL+iRE2VPa oHb1K34hrYGPnS9PEG+v47ap3ucfdIP/3nQQ6mrqPKF9VcdTKPNwIGxfw+svlkG2mDcObq vKYjCxFoDFHqSPuwwKuJXKMYF/RkyJ7FsLcBD1GAqYz8fDhixaviYwbTtMIwKDHnTfGfjm KpOX2CqxhM9AJ4G2dLq+xkk1AUGEMNm+D8IxQtPrAlFuz869jhkYW1FbFavhYA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QT4gl0lMFzt3J; Sat, 27 May 2023 14:59:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34RExFAB068193; Sat, 27 May 2023 14:59:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34RExFOQ068192; Sat, 27 May 2023 14:59:15 GMT (envelope-from git) Date: Sat, 27 May 2023 14:59:15 GMT Message-Id: <202305271459.34RExFOQ068192@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: fed81400666d - main - =?utf-8?Q?math/osqp:=20Update=200.6.2=20=E2=86=92=200.6.3?= List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fed81400666d4b8eec58fa2982d16b033772496a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=fed81400666d4b8eec58fa2982d16b033772496a commit fed81400666d4b8eec58fa2982d16b033772496a Author: Yuri Victorovich AuthorDate: 2023-05-27 14:24:13 +0000 Commit: Yuri Victorovich CommitDate: 2023-05-27 14:59:12 +0000 math/osqp: Update 0.6.2 → 0.6.3 Reported by: portscout --- math/osqp/Makefile | 8 +++--- math/osqp/distinfo | 6 ++--- math/osqp/files/patch-CMakeLists.txt | 48 +++++++++++++++++++++++++----------- math/osqp/pkg-plist | 1 + 4 files changed, 42 insertions(+), 21 deletions(-) diff --git a/math/osqp/Makefile b/math/osqp/Makefile index 92ceb52139ef..6e9029284440 100644 --- a/math/osqp/Makefile +++ b/math/osqp/Makefile @@ -1,6 +1,6 @@ PORTNAME= osqp DISTVERSIONPREFIX= v -DISTVERSION= 0.6.2 +DISTVERSION= 0.6.3 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -10,12 +10,14 @@ WWW= https://osqp.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake +USES= cmake:testing # 4 tests fail, see https://github.com/osqp/osqp/issues/532 +USE_LDCONFIG= yes + USE_GITHUB= yes GH_ACCOUNT= oxfordcontrol GH_TUPLE= oxfordcontrol:qdldl:7ab0fca:q/lin_sys/direct/qdldl/qdldl_sources -USE_LDCONFIG= yes CMAKE_OFF= BUILD_STATIC_LIBS BUILD_EXAMPLES UNITTESTS +CMAKE_TESTING_ON= UNITTESTS .include diff --git a/math/osqp/distinfo b/math/osqp/distinfo index a9b6bf965275..78c521b13d2f 100644 --- a/math/osqp/distinfo +++ b/math/osqp/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1609974993 -SHA256 (oxfordcontrol-osqp-v0.6.2_GH0.tar.gz) = d973c33c3164caa381ed7387375347a46f7522523350a4e51989479b9d3b59c7 -SIZE (oxfordcontrol-osqp-v0.6.2_GH0.tar.gz) = 938313 +TIMESTAMP = 1685182878 +SHA256 (oxfordcontrol-osqp-v0.6.3_GH0.tar.gz) = a6b4148019001f87489c27232e2bdbac37c94f38fa37c1b4ee11eaa5654756d2 +SIZE (oxfordcontrol-osqp-v0.6.3_GH0.tar.gz) = 3302536 SHA256 (oxfordcontrol-qdldl-7ab0fca_GH0.tar.gz) = 9d02ed1a10ad2e8df4de3eb70469be4f9b896a8f93a9323065af625b08cd3645 SIZE (oxfordcontrol-qdldl-7ab0fca_GH0.tar.gz) = 22930 diff --git a/math/osqp/files/patch-CMakeLists.txt b/math/osqp/files/patch-CMakeLists.txt index 2e8e818ee246..85e0b950bff2 100644 --- a/math/osqp/files/patch-CMakeLists.txt +++ b/math/osqp/files/patch-CMakeLists.txt @@ -1,6 +1,6 @@ ---- CMakeLists.txt.orig 2018-09-26 17:51:55 UTC +--- CMakeLists.txt.orig 2023-05-25 14:48:50 UTC +++ CMakeLists.txt -@@ -296,28 +296,32 @@ endif (R_LANG) +@@ -272,28 +272,32 @@ endif (R_LANG) add_subdirectory(lin_sys) # Static library @@ -8,21 +8,21 @@ -# Give same name to static library output -set_target_properties(osqpstatic PROPERTIES OUTPUT_NAME osqp) +if (BUILD_STATIC_LIBS) -+ add_library (osqpstatic STATIC ${osqp_src} ${osqp_headers} ${linsys_solvers}) ++ add_library (osqp STATIC ${osqp_src} ${osqp_headers} ${linsys_solvers}) + # Give same name to static library output -+ set_target_properties(osqpstatic PROPERTIES OUTPUT_NAME osqp) ++ set_target_properties(osqp PROPERTIES OUTPUT_NAME osqp) -# Include directories for linear system solvers -target_include_directories(osqpstatic PRIVATE ${linsys_solvers_includes}) + # Include directories for linear system solvers -+ target_include_directories(osqpstatic PRIVATE ${linsys_solvers_includes}) ++ target_include_directories(osqp PRIVATE ${linsys_solvers_includes}) -# Declare include directories for the cmake exported target -target_include_directories(osqpstatic - PUBLIC "$" - "$/${CMAKE_INSTALL_INCLUDEDIR}/osqp>") + # Declare include directories for the cmake exported target -+ target_include_directories(osqpstatic ++ target_include_directories(osqp + PUBLIC "$" + "$/${CMAKE_INSTALL_INCLUDEDIR}/osqp>") +endif() @@ -38,7 +38,7 @@ - LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" - RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") +if (BUILD_STATIC_LIBS) -+ install(TARGETS osqpstatic ++ install(TARGETS osqp + EXPORT ${PROJECT_NAME} + ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" + LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" @@ -47,7 +47,16 @@ # Install Headers -@@ -355,8 +359,10 @@ if (NOT PYTHON AND NOT MATLAB AND NOT R_ +@@ -304,7 +308,7 @@ install(FILES ${osqp_headers} DESTINATION "${CMAKE_INS + + + if (MATLAB) +-target_link_libraries (osqpstatic ${Matlab_LIBRARIES}) ++target_link_libraries (osqp ${Matlab_LIBRARIES}) + endif (MATLAB) + + # If we are building Python/Matlab/R interface: +@@ -331,8 +335,10 @@ if (NOT PYTHON AND NOT MATLAB AND NOT R_LANG AND NOT E RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") # Create demo executable (linked to static library) @@ -58,14 +67,23 @@ + target_link_libraries (osqp_demo osqp) + endif() - endif (NOT PYTHON AND NOT MATLAB AND NOT R_LANG) + endif (NOT PYTHON AND NOT MATLAB AND NOT R_LANG AND NOT EMBEDDED) + +@@ -431,7 +437,7 @@ if (UNITTESTS) + CXX_STANDARD_REQUIRED YES + CXX_EXTENSIONS NO + ) +- target_link_libraries (osqp_tester osqpstatic ${CMAKE_DL_LIBS}) ++ target_link_libraries (osqp_tester osqp ${CMAKE_DL_LIBS}) -@@ -449,7 +455,7 @@ if (UNITTESTS) - ${PROJECT_SOURCE_DIR}/tests/minunit.h - ${test_headers} - ${codegen_test_headers}) -- target_link_libraries (osqp_tester osqpstatic) -+ target_link_libraries (osqp_tester osqp) + # Add custom memory target + add_executable(osqp_tester_custom_memory +@@ -443,7 +449,7 @@ if (UNITTESTS) + ${PROJECT_SOURCE_DIR}/tests/custom_memory/custom_memory.c + ${PROJECT_SOURCE_DIR}/tests/custom_memory/custom_memory.h + ) +- target_link_libraries (osqp_tester_custom_memory osqpstatic ${CMAKE_DL_LIBS}) ++ target_link_libraries (osqp_tester_custom_memory osqp ${CMAKE_DL_LIBS}) # Add testing include(CTest) diff --git a/math/osqp/pkg-plist b/math/osqp/pkg-plist index 0fee0749c6d3..19bf8f761e7a 100644 --- a/math/osqp/pkg-plist +++ b/math/osqp/pkg-plist @@ -13,6 +13,7 @@ include/osqp/proj.h include/osqp/scaling.h include/osqp/types.h include/osqp/util.h +include/osqp/version.h include/qdldl/qdldl.h include/qdldl/qdldl_types.h lib/cmake/osqp/osqp-config.cmake