From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 53D7E159C9B for ; Wed, 31 Jul 2024 23:31:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A2FF2BC048; Wed, 31 Jul 2024 23:31:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 37F332BC04D for ; Wed, 31 Jul 2024 23:31:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3776F3406A2 for ; Wed, 31 Jul 2024 23:31:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F6A91E88 for ; Wed, 31 Jul 2024 23:31:44 +0000 (UTC) From: "Ivan Lloro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ivan Lloro" Message-ID: <1722468693.45a98f9f8d75c2920491a12c3b4b07c6aad9a0be.ivan.lloro.boada@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-physics/openmodelica/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-physics/openmodelica/openmodelica-1.23.1.ebuild X-VCS-Directories: sci-physics/openmodelica/ X-VCS-Committer: ivan.lloro.boada X-VCS-Committer-Name: Ivan Lloro X-VCS-Revision: 45a98f9f8d75c2920491a12c3b4b07c6aad9a0be X-VCS-Branch: dev Date: Wed, 31 Jul 2024 23:31:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1e444483-6016-49a7-b3cb-93c62170d2f4 X-Archives-Hash: 09bb12c0792e66c35a2ace314919bac6 commit: 45a98f9f8d75c2920491a12c3b4b07c6aad9a0be Author: Ivan Lloro gmail com> AuthorDate: Wed Jul 31 23:12:26 2024 +0000 Commit: Ivan Lloro gmail com> CommitDate: Wed Jul 31 23:31:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=45a98f9f sci-physics/openmodelica: Code cleanup with pushd/popd Signed-off-by: Ivan Lloro gmail.com> sci-physics/openmodelica/openmodelica-1.23.1.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sci-physics/openmodelica/openmodelica-1.23.1.ebuild b/sci-physics/openmodelica/openmodelica-1.23.1.ebuild index a4bbc0e6b..e533cf990 100644 --- a/sci-physics/openmodelica/openmodelica-1.23.1.ebuild +++ b/sci-physics/openmodelica/openmodelica-1.23.1.ebuild @@ -132,8 +132,7 @@ src_compile() { # [2024-07-15] # OMSens is disabled in "${WORKDIR}/${P}/CMakeLists.txt" (## omc_add_subdirectory(OMSens)) due to lack of a # working "${WORKDIR}/${P}/OMSens/CMakeLists.txt". So, we compile it manually. - PWD=$(pwd) - cd "${WORKDIR}"/"${P}"/OMSens/fortran_interface + pushd OMSens/fortran_interface > /dev/null || die gfortran -fPIC -c Rutf.for Rut.for Curvif.for || die # BUG: Undefined symbol curvif_ in # ${WORKDIR}/${P}/OMSens/fortran_interface/curvif_simplified.cpython-312-x86_64-linux-gnu.so @@ -141,7 +140,7 @@ src_compile() { # ${WORKDIR}/${P}/OMSens/fortran_interface/curvif_simplified.cpython-312-x86_64-linux-gnu.so # This bug causes "Vectorial Parameter Based Sensitivity Analysis" in OMSens to fail. f2py --verbose -c -I. Curvif.o Rutf.o Rut.o -m curvif_simplified curvif_simplified.pyf Curvif_simplified.f90 || die - cd "${PWD}" + popd || die cmake_src_compile }