Project

General

Profile

Bug #24088

Python module not available in artdaq release 3_07_02

Added by Ron Rechenmacher 9 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
02/24/2020
Due date:
% Done:

0%

Estimated time:
Experiment:
ICARUS
Co-Assignees:
Duration:

Description

Python module not available in artdaq release 3_07_02

History

#1 Updated by Eric Flumerfelt 9 months ago

  • Assignee set to Eric Flumerfelt
  • Status changed from New to Resolved

Resolved by artdaq-utilities:bugfix/24088_PythonAddon_InstallInLibDir and artdaq:bugfix/24088_AddToPYTHONPATH.

#2 Updated by Gennadiy Lukhanin 9 months ago

  • Status changed from Resolved to Reviewed

Works after a small change to NodeJSAddon.cmake and PythonAddon.cmake.

diff --git a/Modules/NodeJSAddon.cmake b/Modules/NodeJSAddon.cmake
index f48a7ea..35bcc7b 100644
--- a/Modules/NodeJSAddon.cmake
+++ b/Modules/NodeJSAddon.cmake
@@ -1,4 +1,6 @@
 cmake_policy(VERSION 3.0.1) # We've made this work for 3.0.1.
+cmake_policy(SET CMP0078 OLD)
+cmake_policy(SET CMP0086 OLD)

 include(CetParseArgs)

diff --git a/Modules/PythonAddon.cmake b/Modules/PythonAddon.cmake
index 43604c6..6c11f0e 100644
--- a/Modules/PythonAddon.cmake
+++ b/Modules/PythonAddon.cmake
@@ -1,4 +1,7 @@
 cmake_policy(VERSION 3.0.1) # We've made this work for 3.0.1.
+cmake_policy(SET CMP0078 OLD)
+cmake_policy(SET CMP0086 OLD)
+
 include(CetParseArgs)

 set(CAN_BUILD true)

#3 Updated by Eric Flumerfelt 8 months ago

  • Status changed from Reviewed to Closed
  • Experiment ICARUS added
  • Experiment deleted (-)

Also available in: Atom PDF