summaryrefslogtreecommitdiff
path: root/sci-astronomy/siril/files/siril-1.2-openmp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy/siril/files/siril-1.2-openmp.patch')
-rw-r--r--sci-astronomy/siril/files/siril-1.2-openmp.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/sci-astronomy/siril/files/siril-1.2-openmp.patch b/sci-astronomy/siril/files/siril-1.2-openmp.patch
deleted file mode 100644
index 358bfaa79934..000000000000
--- a/sci-astronomy/siril/files/siril-1.2-openmp.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
-Date: Fri, 24 Mar 2023 18:24:26 +0100
-Subject: [PATCH] Add ifdef around openmp function
-Bug: https://bugs.gentoo.org/902833
-Upstream: https://gitlab.com/free-astro/siril/-/merge_requests/482
-
---- a/src/algos/quantize.c
-+++ b/src/algos/quantize.c
-@@ -1396,8 +1396,10 @@ row of the image.
- #pragma omp parallel num_threads(threads) if (threads>1)
- #endif
- {
-+#ifdef _OPENMP
- if (threads > 1 && omp_get_num_threads() != threads)
- siril_debug_print("actual number of threads: %d of %d requested (level %d)\n", omp_get_num_threads(), threads, omp_get_level());
-+#endif
- float *rowpix, v1;
- double mean, stdev;
- float *differences;
-From 59272d18d67dc342b1a040b7574b6b71b28310e6 Mon Sep 17 00:00:00 2001
-From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
-Date: Mon, 10 Apr 2023 22:17:54 +0200
-Subject: [PATCH] Remove uneeded openmp headers
-Bug: https://bugs.gentoo.org/903021
-Upstream: https://gitlab.com/free-astro/siril/-/merge_requests/494
-
---- a/src/filters/nlbayes/LibImages.cpp
-+++ b/src/filters/nlbayes/LibImages.cpp
-@@ -26,7 +26,6 @@
- #include <unistd.h>
- #include <stdlib.h>
- #include <math.h>
--#include <omp.h>
-
- using namespace std;
-
---- a/src/filters/nlbayes/Utilities.cpp
-+++ b/src/filters/nlbayes/Utilities.cpp
-@@ -20,7 +20,6 @@
- #include "Utilities.h"
-
- #include <math.h>
--#include <omp.h>
- #include <iostream>
- #include <stdlib.h>
- #include <fstream>
---
-2.39.2
-