Граф коммитов

105 Коммитов

Автор SHA1 Сообщение Дата
Jeff Donahue 24bfd03da3 -Override the default compiler by specifying a CXX in
Makefile.config instead of CUSTOM_CXX, as Travis exports CXX
as the compiler env variable name.
-Change TEST_HDFS -> TEST_HXX_SRCS.
2014-07-14 02:18:16 -07:00
Jeff Donahue e5ce15d29d Move test headers to include/.
Add a test param to test both CPU and GPU (with both float and double
Dtypes).
2014-07-14 02:17:58 -07:00
Jeff Donahue 1679815f67 makefile hotfix 2014-07-09 16:39:17 -07:00
Jeff Donahue 37329cbc2c fix bug introduced by warning logs: errors didn't print because they
are logged to the warnings file
2014-07-09 15:47:21 -07:00
Jeff Donahue d86735ed3b Makefile: cleanup lint/warn report logic (and make the two more consistent) 2014-07-09 11:42:19 -07:00
Jeff Donahue 933dc6e7d9 Output a lint report for every source file linted; use to lint
incrementally
2014-07-08 17:56:06 -07:00
Jeff Donahue ba8a2bb8c9 Dump compiler warnings to *.warnings.txt; use "make warn" to print them 2014-07-08 17:53:53 -07:00
Jeff Donahue e5be75459a Don't make clean when running linecount 2014-07-08 15:02:00 -07:00
Evan Shelhamer 18a4e2d1fc customize compiler setting in Makefile.config
in case of issues with default compilers or exotic platforms.
2014-07-03 18:38:30 -07:00
James Thewlis a63feadb08 Fix building tests with parallel make
The changes for .cu tests meant that creating
TEST_BUILD_DIR wasn't happening first
2014-06-28 00:49:53 +01:00
James Thewlis 6450e0f0c8 Test for im2col kernel
With associated Makefile changes for .cu tests

This tests that the grid-stride loop works for im2col,
using the CPU version as a reference.
2014-06-27 10:15:41 +01:00
Evan Shelhamer 89fd7e3334 content ourselves to -Wall without -Werror for now 2014-06-25 17:58:38 -07:00
Evan Shelhamer 30ad1e2379 make clang++ happy on OSX by not linking with pthread 2014-06-25 17:35:40 -07:00
Jonathan L Long aa7371147e turn off some warnings for older compilers 2014-06-25 15:11:42 -07:00
Jonathan L Long 8490718f4c add WARNINGS to CXXFLAGS 2014-06-25 15:11:41 -07:00
Jonathan L Long ff5e35ee77 upgrade warnings to -Wall -Werror -Wno-sign-compare 2014-06-25 15:11:41 -07:00
linmin 12f6fd52a8 add option for lmdb 2014-06-12 22:23:49 -07:00
Jeff Donahue 25aa12922c fix Makefile build dir link upgrade bug reported by @jamt9000 2014-06-08 18:22:45 -07:00
Jeff Donahue a8dfed49e3 compile debug/release into separate directories so you don't have to
rebuild the whole thing to switch back and forth
2014-06-03 00:24:58 -07:00
Jonathan L Long 608abe267f don't pass LDFLAGS when only compiling 2014-05-26 01:34:32 -07:00
Jeff Donahue f66f25dbc2 fix Makefile bug - HXX_SRCS was things that don't end in .hpp, instead
of things that do...
2014-05-10 17:20:19 -07:00
Evan Shelhamer 8ea837ff13 randomize order of test execution by make runtest 2014-04-25 19:39:14 -07:00
Evan Shelhamer ed38827284 Give choice of ATLAS, MKL, and OpenBLAS (with option to override paths)
- configure build for ATLAS, MKL, or OpenBLAS on Linux and OSX
- allow overriding of the include or lib dirs
- replace magic numbers with BLAS names (atlas, mkl, open)

Follow-up from #305 and #325.
2014-04-15 01:49:08 -06:00
AlOa 8fd9f8cec7 Add possibility to use OpenBlas 2014-04-14 16:12:12 +02:00
Evan Shelhamer b467ffb75d fix osx 10.9 condition in Makefile 2014-04-09 15:44:07 -07:00
Evan Shelhamer 938f946956 include vecLib BLAS dir on osx 2014-04-09 14:33:31 -07:00
Evan Shelhamer 8fc0e4bbe6 auto-configure linux/osx build differences
- set cxx as needed (clang++ on os x)
- set stdlib flag for os x 10.9 (CUDA libc++ workaround)
- link ATLAS properly for non-MKL installation whether linux or os x
2014-04-08 15:45:00 -07:00
Evan Shelhamer 8f1f3d2938 trivial makefile grooming 2014-04-08 15:25:04 -07:00
Jeff Donahue 76caca3a5a gitignore python/caffe/proto/; superclean ignore data dir 2014-04-04 13:44:34 -07:00
Jeff Donahue 6b3d257eea include build/ before other dirs so old proto built files in src/ and
include/ don't interfere
2014-04-02 11:29:01 -07:00
Jeff Donahue 74a3788298 remove silly thing where I copied proto headers to a separate
build/include dir
2014-04-02 10:58:49 -07:00
Jeff Donahue abf44a6174 matcaffe fixes 2014-04-02 10:58:49 -07:00
Jeff Donahue 48994cf0dd fix test bugs and minor cleanup 2014-04-02 10:58:49 -07:00
Jeff Donahue 39ca2def35 cleanup python build and clean 2014-04-02 10:58:49 -07:00
Jeff Donahue db26e5a8f3 compile test bins directly into build/test 2014-04-02 10:58:49 -07:00
Jeff Donahue 209b4c82ee add test header dependency and fix mat targets 2014-04-02 10:58:49 -07:00
Jeff Donahue a034d62958 minor cleanup 2014-04-02 10:58:49 -07:00
Jeff Donahue 9f14265cfd libcaffe.* in build/lib/ 2014-04-02 10:58:49 -07:00
Jeff Donahue 195ba81b88 everything prints a blank line after compiling 2014-04-02 10:58:49 -07:00
Jeff Donahue fd09cb3641 lots of corrections to dependencies etc., things seem to mostly build
coherently now
2014-04-02 10:58:49 -07:00
Jeff Donahue 060c5f1ad6 messed around with Makefile - currently in very messy state 2014-04-02 10:58:49 -07:00
Jeff Donahue 5d9040a3d8 cleanup superclean output 2014-04-02 10:58:49 -07:00
Jeff Donahue e29838ddf1 put proto-generated .cc and .h files in build directory 2014-04-02 10:58:49 -07:00
Jeff Donahue a750a31c5e create softlink to test directory at build/test 2014-04-02 10:58:49 -07:00
Jeff Donahue 3abb10e910 create superclean Makefile target to delete all files with generated
extensions
2014-04-02 10:58:49 -07:00
Jeff Donahue 654d8114ed put TEST_GPUID in Makefile.config 2014-04-02 10:58:49 -07:00
Jonathan L Long c8ec12c5cb add DEBUG option to Makefile/Makefile.config.example
This allows debugging to be toggled without dirtying the tree.
2014-03-27 20:15:32 -07:00
jamt9000 40aa12aa18 Fixed order of cblas and atlas linker flags
They were the wrong way round, causing linking to fail in some cases
2014-03-21 13:52:36 -07:00
Evan Shelhamer f6cbe2c5ce make MKL switch surprise-proof 2014-03-21 13:52:36 -07:00
Evan Shelhamer c028d09ca6 rewrite MKL flag note, polish makefile
add MKL dirs conditioned on USE_MKL
include libraries before making LD_FLAGS
2014-03-21 13:52:36 -07:00