feat: targz runtime libraries

This commit is contained in:
parker
2025-08-14 22:14:51 +01:00
parent 3557c4d4e7
commit 7b823f42f3
24 changed files with 142 additions and 38 deletions

View File

@@ -1,5 +1,4 @@
#pragma once
#include <oneapi/tbb/concurrent_vector.h>
#include <string>
#include <optional>
#include <string_view>

View File

@@ -3,8 +3,8 @@
#include "Engine/Operator/AttributeHandle.h"
#include "Engine/Types.h"
#include <memory>
#include <oneapi/tbb/spin_mutex.h>
#include <oneapi/tbb/task_group.h>
#include <tbb/spin_mutex.h>
#include <tbb/task_group.h>
#include <stdexcept>
#include <string>
#include <CGAL/Polygon_mesh_processing/orientation.h>

View File

@@ -5,7 +5,7 @@
#include <CGAL/Simple_cartesian.h>
#include "Engine/Operator/AttributeHandle.h"
#include <memory>
#include <oneapi/tbb/spin_mutex.h>
#include <tbb/spin_mutex.h>
#include <tbb/spin_mutex.h>
#include <variant>

View File

@@ -1,4 +1,4 @@
#include <oneapi/tbb/parallel_for.h>
#include <tbb/parallel_for.h>
#include "Engine/Operator/GeometryOpDef.h"
#include <stdexcept>
#include <iostream>

View File

@@ -101,13 +101,12 @@ void enzo::op::OperatorTable::initPlugins()
static bool pluginsLoaded=false;
if(pluginsLoaded) return;
// auto initPlugin = boost::dll::import_symbol<void(enzo::op::addOperatorPtr)>(
// "build/src/OpDefs/libenzoOps1.so", "newSopOperator"
// );
auto initPlugin = boost::dll::import_symbol<void(enzo::op::addOperatorPtr)>(
findPlugin("enzoOps1"), "newSopOperator"
);
using InitPluginFn = void(enzo::op::addOperatorPtr);
const auto so = findPlugin("enzoOps1");
static boost::dll::shared_library lib(so, boost::dll::load_mode::default_mode);
auto initPlugin = lib.get<InitPluginFn>("newSopOperator");
initPlugin(enzo::op::OperatorTable::addOperator);
pluginsLoaded = true;

View File

@@ -1,6 +1,7 @@
#include "Gui/Network/NetworkGraphicsView.h"
#include <QGraphicsItem>
#include "Gui/Network/Network.h"
#include <QCoreApplication>
#include "Gui/Network/NetworkGraphicsScene.h"
#include "Gui/Network/SocketGraphic.h"
#include <iostream>

View File

@@ -5,8 +5,8 @@
#include "Engine/Operator/Geometry.h"
#include "Engine/Types.h"
#include <CGAL/Polygon_mesh_processing/compute_normal.h>
#include <oneapi/tbb/blocked_range.h>
#include <oneapi/tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/parallel_for.h>
#include "icecream.hpp"

View File

@@ -4,8 +4,8 @@
#include <glm/fwd.hpp>
#include <CGAL/Polygon_mesh_processing/compute_normal.h>
#include <glm/geometric.hpp>
#include <oneapi/tbb/blocked_range.h>
#include <oneapi/tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/parallel_for.h>
#include "Engine/Types.h"
#include "Gui/Viewport/GLCamera.h"
#include "icecream.hpp"

View File

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.30)
cmake_minimum_required(VERSION 3.26)
project(enzoOps1)

View File

@@ -2,7 +2,7 @@
#include "Engine/Operator/AttributeHandle.h"
#include "Engine/Types.h"
#include <cstdio>
#include <oneapi/tbb/parallel_for.h>
#include <tbb/parallel_for.h>
#include <fstream>
#include <string>
#include <boost/algorithm/string.hpp>

View File

@@ -3,7 +3,7 @@
#include "Engine/Types.h"
#include <cmath>
#include <cstdio>
#include <oneapi/tbb/parallel_for.h>
#include <tbb/parallel_for.h>
#include <fstream>
#include <string>
#include <boost/algorithm/string.hpp>

View File

@@ -1,6 +1,6 @@
#include "OpDefs/GopHouse.h"
#include "Engine/Operator/AttributeHandle.h"
#include <oneapi/tbb/parallel_for.h>
#include <tbb/parallel_for.h>
GOP_house::GOP_house(enzo::nt::NetworkManager* network, enzo::op::OpInfo opInfo)
: GeometryOpDef(network, opInfo)

View File

@@ -3,8 +3,8 @@
#include "Engine/Types.h"
#include <cmath>
#include <cstdio>
#include <oneapi/tbb/blocked_range.h>
#include <oneapi/tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/parallel_for.h>
#include <fstream>
#include <string>
#include <boost/algorithm/string.hpp>

View File

@@ -3,8 +3,8 @@
#include "Engine/Types.h"
#include <cmath>
#include <cstdio>
#include <oneapi/tbb/blocked_range.h>
#include <oneapi/tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/parallel_for.h>
#include <fstream>
#include <string>
#include <boost/algorithm/string.hpp>

View File

@@ -1,6 +1,6 @@
#include "OpDefs/GopTestCube.h"
#include "Engine/Operator/AttributeHandle.h"
#include <oneapi/tbb/parallel_for.h>
#include <tbb/parallel_for.h>
GopTestGeoCube::GopTestGeoCube(enzo::nt::NetworkManager* network, enzo::op::OpInfo opInfo)
: GeometryOpDef(network, opInfo)

View File

@@ -6,8 +6,8 @@
#include <Eigen/src/Geometry/AngleAxis.h>
#include <Eigen/src/Geometry/Transform.h>
#include <cstddef>
#include <oneapi/tbb/blocked_range.h>
#include <oneapi/tbb/parallel_for.h>
#include <tbb/blocked_range.h>
#include <tbb/parallel_for.h>
GopTransform::GopTransform(enzo::nt::NetworkManager* network, enzo::op::OpInfo opInfo)
: GeometryOpDef(network, opInfo)