Package: julia / 0.4.7-6

no-generic-cpu-warning.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Do not print warning if unable to determine host CPU name
 It is unnecessarily alarming to users and the unexpected output
 causes at least one unit test to fail. It has been removed upstream:
 https://github.com/JuliaLang/julia/commit/760bc41d6410bb0b398782f1da9353c4c31869a6
Forwarded: not-needed
Author: Graham Inggs <ginggs@debian.org>
Last-Update: 2017-01-22
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -5698,7 +5698,6 @@
   // Figure out if we know the cpu_target
   std::string cpu = strcmp(jl_options.cpu_target,"native") ? jl_options.cpu_target : sys::getHostCPUName();
   if (cpu.empty() || cpu == "generic") {
-    jl_printf(JL_STDERR, "WARNING: unable to determine host cpu name.\n");
 #if defined(_CPU_ARM_) && defined(__ARM_PCS_VFP)
     // Check if this is required when you have read the features directly from the processor
     // This affects the platform calling convention.