summaryrefslogtreecommitdiff
path: root/lang/compute-runtime/files/patch-clock_gettime
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-12-13 05:34:59 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-12-13 05:34:59 +0000
commit5fba554d35319484403c2517e7d9aff4e83e3f37 (patch)
tree95a509dbfdf5f2172dc87332e422286863222c16 /lang/compute-runtime/files/patch-clock_gettime
parentUpdate finance/libofx to 0.9.15 (diff)
lang/compute-runtime: prefix package like other distributions
Compute runtime unlike Beignet maybe used by other CPU vendors for a common runtime used by GPGPU.
Notes
Notes: svn path=/head/; revision=519964
Diffstat (limited to 'lang/compute-runtime/files/patch-clock_gettime')
-rw-r--r--lang/compute-runtime/files/patch-clock_gettime24
1 files changed, 0 insertions, 24 deletions
diff --git a/lang/compute-runtime/files/patch-clock_gettime b/lang/compute-runtime/files/patch-clock_gettime
deleted file mode 100644
index 7a6609f709b7..000000000000
--- a/lang/compute-runtime/files/patch-clock_gettime
+++ /dev/null
@@ -1,24 +0,0 @@
-CLOCK_MONOTONIC_RAW doesn't exist on non-Linux systems.
-
-runtime/os_interface/linux/os_time_linux.cpp:61:21: error:
- use of undeclared identifier 'CLOCK_MONOTONIC_RAW'
- if (getTimeFunc(CLOCK_MONOTONIC_RAW, &ts)) {
- ^
-runtime/os_interface/linux/os_time_linux.cpp:138:24: error:
- use of undeclared identifier 'CLOCK_MONOTONIC_RAW'
- if (resolutionFunc(CLOCK_MONOTONIC_RAW, &ts)) {
- ^
-
---- runtime/os_interface/linux/os_time_linux.cpp.orig 2019-11-22 15:41:47 UTC
-+++ runtime/os_interface/linux/os_time_linux.cpp
-@@ -14,6 +14,10 @@
-
- #include <time.h>
-
-+#ifndef CLOCK_MONOTONIC_RAW
-+#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
-+#endif
-+
- namespace NEO {
-
- OSTimeLinux::OSTimeLinux(OSInterface *osInterface) {