public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/gromacs/files/, sci-chemistry/gromacs/
Date: Fri, 25 Oct 2024 11:08:08 +0000 (UTC)	[thread overview]
Message-ID: <1729854462.2aa68c469487247f00d2d76f56c6e41cd45d2ace.alexxy@gentoo> (raw)

commit:     2aa68c469487247f00d2d76f56c6e41cd45d2ace
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 25 11:07:42 2024 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Fri Oct 25 11:07:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aa68c46

sci-chemistry/gromacs: drop upstreamed patch

Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 .../files/gromacs-9999-Fix-build-with-torch.patch  | 40 ----------------------
 sci-chemistry/gromacs/gromacs-9999.ebuild          |  2 --
 2 files changed, 42 deletions(-)

diff --git a/sci-chemistry/gromacs/files/gromacs-9999-Fix-build-with-torch.patch b/sci-chemistry/gromacs/files/gromacs-9999-Fix-build-with-torch.patch
deleted file mode 100644
index 3a42ba4000ed..000000000000
--- a/sci-chemistry/gromacs/files/gromacs-9999-Fix-build-with-torch.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From d997978fc0c644784ed929b0c48e153d5c1f1408 Mon Sep 17 00:00:00 2001
-From: Alexey Shvetsov <alexxyum@gmail.com>
-Date: Sat, 19 Oct 2024 21:22:07 +0300
-Subject: [PATCH] Fix build with torch if non default C{XX}_FLAGS set
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This should fix build colvars with torch if torch was built with non
-default C{,XX}_FLAGS
-
-Erorr info:
-
-FAILED: src/gromacs/CMakeFiles/colvars_objlib.dir/__/external/colvars/colvar.cpp.o
-/usr/bin/x86_64-pc-linux-gnu-g++ -DCOLVARS_TORCH -DGMX_DOUBLE=0 -I/usr/include/torch/csrc/api/include  -O2 -pipe -march=skylake -mtune=skylake -std=c++17 -fPIC "-O2 -pipe -march=skylake -mtune=skylake" -D_GLIBCXX_USE_CXX11_ABI=1 -fopenmp -MD -MT src/gromacs/CMakeFiles/colvars_objlib.dir/__/external/colvars/colvar.cpp.o -MF src/gromacs/CMakeFiles/colvars_objlib.dir/__/external/colvars/colvar.cpp.o.d -o src/gromacs/CMakeFiles/colvars_objlib.dir/__/external/colvars/colvar.cpp.o -c /var/tmp/portage/sci-chemistry/gromacs-9999/work/gromacs-9999/src/external/colvars/colvar.cpp
-cc1plus: error: argument to ‘-O’ should be a non-negative integer, ‘g’, ‘s’, ‘z’ or ‘fast’
-
-This caused by doubling quoted C{,XX}_FLAGS
-
-Signed-off-by: Alexey Shvetsov <alexxyum@gmail.com>
----
- cmake/gmxManageColvars.cmake | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cmake/gmxManageColvars.cmake b/cmake/gmxManageColvars.cmake
-index 509d56e116..f49c820fa0 100644
---- a/cmake/gmxManageColvars.cmake
-+++ b/cmake/gmxManageColvars.cmake
-@@ -52,7 +52,7 @@ function(gmx_manage_colvars)
-             target_link_libraries(colvars_objlib PRIVATE OpenMP::OpenMP_CXX)
-         endif()
-         if(GMX_TORCH)
--            target_compile_options(colvars_objlib PRIVATE ${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS})
-+            target_compile_options(colvars_objlib PRIVATE ${TORCH_CXX_FLAGS})
-             target_include_directories(colvars_objlib PRIVATE ${TORCH_INCLUDE_DIRS})
-             target_compile_definitions(colvars_objlib PRIVATE -DCOLVARS_TORCH)
-         endif()
--- 
-2.47.0
-

diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild b/sci-chemistry/gromacs/gromacs-9999.ebuild
index 9de42117f102..a05143862722 100644
--- a/sci-chemistry/gromacs/gromacs-9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-9999.ebuild
@@ -94,8 +94,6 @@ DOCS=( AUTHORS README )
 
 RESTRICT="!test? ( test )"
 
-PATCHES=( "${FILESDIR}/${P}-Fix-build-with-torch.patch" )
-
 if [[ ${PV} != *9999 ]]; then
 	S="${WORKDIR}/${PN}-${PV/_/-}"
 fi


             reply	other threads:[~2024-10-25 11:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-25 11:08 Alexey Shvetsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-20 13:14 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/gromacs/files/, sci-chemistry/gromacs/ Pacho Ramos
2023-04-25  9:50 Alexey Shvetsov
2022-02-21 16:37 Alexey Shvetsov
2021-04-23 11:42 Alexey Shvetsov
2017-12-01 14:48 Alexey Shvetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1729854462.2aa68c469487247f00d2d76f56c6e41cd45d2ace.alexxy@gentoo \
    --to=alexxy@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox