Austin Schuh | 55139fe | 2015-10-14 23:55:24 -0700 | [diff] [blame] | 1 | package(default_visibility = ['//debian:__pkg__']) |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 2 | |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 3 | cc_library( |
| 4 | name = 'librt', |
Austin Schuh | 55139fe | 2015-10-14 23:55:24 -0700 | [diff] [blame] | 5 | srcs = [ |
| 6 | 'lib/x86_64-linux-gnu/librt.so' |
| 7 | ], |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 8 | ) |
| 9 | |
| 10 | cc_library( |
| 11 | name = 'libdl', |
Austin Schuh | 55139fe | 2015-10-14 23:55:24 -0700 | [diff] [blame] | 12 | srcs = [ |
| 13 | 'lib/x86_64-linux-gnu/libdl.so' |
| 14 | ], |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 15 | ) |
| 16 | |
| 17 | cc_library( |
| 18 | name = 'libm', |
Austin Schuh | 55139fe | 2015-10-14 23:55:24 -0700 | [diff] [blame] | 19 | srcs = [ |
| 20 | 'lib/x86_64-linux-gnu/libm.so' |
| 21 | ], |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 22 | ) |
| 23 | |
| 24 | cc_library( |
| 25 | name = 'libpthread', |
Austin Schuh | 4759ffc | 2015-10-07 20:39:56 -0700 | [diff] [blame] | 26 | ) |
Austin Schuh | 1f9aeb4 | 2015-11-12 23:34:49 -0800 | [diff] [blame] | 27 | |
| 28 | cc_library( |
| 29 | name = 'python3.4_lib', |
| 30 | hdrs = glob(['include/python3.4m/**/*.h']), |
| 31 | includes = [ |
| 32 | 'include/python3.4m/', |
| 33 | ], |
| 34 | visibility = ['//visibility:public'], |
| 35 | ) |
| 36 | |
| 37 | cc_library( |
| 38 | name = 'python3.4_f2py', |
| 39 | srcs = [ |
| 40 | 'lib/python3/dist-packages/numpy/f2py/src/fortranobject.c', |
| 41 | ], |
| 42 | hdrs = [ |
| 43 | 'lib/python3/dist-packages/numpy/f2py/src/fortranobject.h', |
| 44 | ], |
| 45 | copts = [ |
| 46 | '-Wno-error', |
| 47 | ], |
| 48 | includes = [ |
| 49 | 'lib/python3/dist-packages/numpy/f2py/src/', |
| 50 | ], |
| 51 | deps = [ |
| 52 | ':python3.4_lib', |
| 53 | ], |
| 54 | visibility = ['//visibility:public'], |
| 55 | ) |
| 56 | |
| 57 | cc_library( |
| 58 | name = 'python2.7_lib', |
| 59 | hdrs = glob(['include/python2.7/**/*.h']), |
| 60 | srcs = [ |
| 61 | 'lib/x86_64-linux-gnu/libpython2.7.so', |
| 62 | ], |
| 63 | includes = [ |
| 64 | 'include/python2.7/', |
| 65 | ], |
| 66 | visibility = ['//visibility:public'], |
| 67 | ) |
| 68 | |
| 69 | cc_library( |
| 70 | name = 'python2.7_f2py', |
| 71 | srcs = [ |
| 72 | 'lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.c', |
| 73 | ], |
| 74 | hdrs = [ |
| 75 | 'lib/python2.7/dist-packages/numpy/f2py/src/fortranobject.h', |
| 76 | ], |
| 77 | copts = [ |
| 78 | '-Wno-error', |
| 79 | ], |
| 80 | includes = [ |
| 81 | 'lib/python2.7/dist-packages/numpy/f2py/src/', |
| 82 | ], |
| 83 | deps = [ |
| 84 | ':python2.7_lib', |
| 85 | ], |
| 86 | visibility = ['//visibility:public'], |
| 87 | ) |