403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/lang/halide/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/lang/halide/files/patch-src_Target.cpp
--- src/Target.cpp.orig	2022-08-17 04:41:42 UTC
+++ src/Target.cpp
@@ -67,6 +67,9 @@ Target calculate_host_target() {
 #ifdef __linux__
     os = Target::Linux;
 #endif
+#ifdef __FreeBSD__
+    os = Target::FreeBSD;
+#endif
 #ifdef _WIN32
     os = Target::Windows;
 #endif
@@ -269,6 +272,7 @@ Target::Feature get_host_cuda_capability(Target t) {
 const std::map<std::string, Target::OS> os_name_map = {
     {"os_unknown", Target::OSUnknown},
     {"linux", Target::Linux},
+    {"freebsd", Target::FreeBSD},
     {"windows", Target::Windows},
     {"osx", Target::OSX},
     {"android", Target::Android},

Youez - 2016 - github.com/yon3zu
LinuXploit