Skip to content

Commit

Permalink
fix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Dec 3, 2023
1 parent 1e4a2b2 commit dda8d26
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions recipe/3025.patch
Original file line number Diff line number Diff line change
Expand Up @@ -28,43 +28,3 @@ index bfc225341..e6dc0fc99 100644
LINK_FLAGS "-rdynamic")
endif()
target_compile_definitions(

From d0281e58a11eae6d55f5024ddfe4acd2083fff55 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Sat, 2 Dec 2023 23:23:44 +0000
Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
---
source/lmp/plugin/CMakeLists.txt | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/source/lmp/plugin/CMakeLists.txt b/source/lmp/plugin/CMakeLists.txt
index e6dc0fc99..41aa41f7f 100644
--- a/source/lmp/plugin/CMakeLists.txt
+++ b/source/lmp/plugin/CMakeLists.txt
@@ -95,15 +95,16 @@ if(DEFINED LAMMPS_SOURCE_ROOT OR DEFINED LAMMPS_VERSION)
${libname} PRIVATE ${LAMMPS_SOURCE_ROOT}/src/EXTRA-FIX) # for ttm
endif()
if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
- set_target_properties(${libname} PROPERTIES LINK_FLAGS
- "-Wl,-undefined,dynamic_lookup"
- INSTALL_RPATH
- "@loader_path:${TensorFlow_LIBRARY_PATH}:@loader_path/.."
- )
+ set_target_properties(
+ ${libname}
+ PROPERTIES LINK_FLAGS "-Wl,-undefined,dynamic_lookup"
+ INSTALL_RPATH
+ "@loader_path:${TensorFlow_LIBRARY_PATH}:@loader_path/..")
else()
set_target_properties(
- ${libname} PROPERTIES INSTALL_RPATH "$ORIGIN;${TensorFlow_LIBRARY_PATH};$ORIGIN/.."
- LINK_FLAGS "-rdynamic")
+ ${libname}
+ PROPERTIES INSTALL_RPATH "$ORIGIN;${TensorFlow_LIBRARY_PATH};$ORIGIN/.."
+ LINK_FLAGS "-rdynamic")
endif()
target_compile_definitions(
${libname}

0 comments on commit dda8d26

Please sign in to comment.