Merge pull request #325 from eschnett/eschnett/julia-update
Several small updates to Julia
This commit is contained in:
		
							
								
								
									
										11
									
								
								var/spack/packages/julia/gc.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								var/spack/packages/julia/gc.patch
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					--- julia/src/gc.c
 | 
				
			||||||
 | 
					+++ julia/src/gc.c
 | 
				
			||||||
 | 
					@@ -162,7 +162,7 @@
 | 
				
			||||||
 | 
					 // A region is contiguous storage for up to REGION_PG_COUNT naturally aligned GC_PAGE_SZ pages
 | 
				
			||||||
 | 
					 // It uses a very naive allocator (see malloc_page & free_page)
 | 
				
			||||||
 | 
					 #if defined(_P64) && !defined(_COMPILER_MICROSOFT_)
 | 
				
			||||||
 | 
					-#define REGION_PG_COUNT 16*8*4096 // 8G because virtual memory is cheap
 | 
				
			||||||
 | 
					+#define REGION_PG_COUNT 8*4096 // 512M
 | 
				
			||||||
 | 
					 #else
 | 
				
			||||||
 | 
					 #define REGION_PG_COUNT 8*4096 // 512M
 | 
				
			||||||
 | 
					 #endif
 | 
				
			||||||
@@ -8,11 +8,14 @@ class Julia(Package):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    version('0.4.2', 'ccfeb4f4090c8b31083f5e1ccb03eb06')
 | 
					    version('0.4.2', 'ccfeb4f4090c8b31083f5e1ccb03eb06')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    patch('gc.patch')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Build-time dependencies
 | 
					    # Build-time dependencies
 | 
				
			||||||
    # depends_on("cmake")
 | 
					    depends_on("cmake @2.8:")
 | 
				
			||||||
    # depends_on("awk")
 | 
					    # depends_on("awk")
 | 
				
			||||||
    # depends_on("m4")
 | 
					    # depends_on("m4")
 | 
				
			||||||
    # depends_on("pkg-config")
 | 
					    # depends_on("pkg-config")
 | 
				
			||||||
 | 
					    depends_on("python @2.6:2.9")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # I think that Julia requires the dependencies above, but it builds find (on
 | 
					    # I think that Julia requires the dependencies above, but it builds find (on
 | 
				
			||||||
    # my system) without these. We should enable them as necessary.
 | 
					    # my system) without these. We should enable them as necessary.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user