Skip to content

Instantly share code, notes, and snippets.

@ArchRobison
Created May 1, 2014 14:59
Show Gist options
  • Select an option

  • Save ArchRobison/a7c4cf396c5332a4ddd2 to your computer and use it in GitHub Desktop.

Select an option

Save ArchRobison/a7c4cf396c5332a4ddd2 to your computer and use it in GitHub Desktop.
Patch to Julia sources to quiet Intel(R) VTune(TM) Amplifier warning about "sigal stack".
--- a/src/init.c
+++ b/src/init.c
@@ -64,6 +64,9 @@ extern BOOL (WINAPI *hSymRefreshModuleList)(HANDLE);
#include <sched.h> // for setting CPU affinity
#endif
+#undef SIGSTKSZ
+#define SIGSTKSZ (64*1024)
+
char *julia_home = NULL;
jl_compileropts_t jl_compileropts = { NULL, // build_path
0, // code_coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment