forked from lspector/Clojush
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
28 lines (28 loc) · 1.46 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(defproject clojush "1.3.58"
:description "The Push programming language and the PushGP genetic programming
system implemented in Clojure.
See http://hampshire.edu/lspector/push.html"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojars.etosch/cosmos "1.0.0"]
[org.clojure/math.numeric-tower "0.0.1"]
[local-file "0.1.0"]
[clojure-csv "2.0.0-alpha2"]
[org.clojure/data.json "0.1.3"]
[clj-random "0.1.5"]
;[incanter/incanter-core "1.5.2"]
]
:dev-dependencies [[lein-ccw "1.2.0"]]
;; the following, or a variant, may be helpful on big machines
;:jvm-opts ["-Xmx58g" "-Xms58g" "-XX:+UseParallelGC"]
;:jvm-opts ["-Xmx12g" "-Xms12g" "-XX:+UseParallelGC"]
;:jvm-opts ["-Xmx58g" "-Xms58g" "-XX:+UseParallelGC" "-Djava.awt.headless=true"]
;; the following should automatically take 80% of the machine's RAM and also use the G1 garbage collector
; :jvm-opts ~(let [mem-to-use (long (* (.getTotalPhysicalMemorySize
; (java.lang.management.ManagementFactory/getOperatingSystemMXBean))
; 0.8))]
; [(str "-Xmx" mem-to-use)
; (str "-Xms" mem-to-use)
; "-XX:+UseG1GC"])
:main clojush.core)