workspace(name = "org_deepmind_lab") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "com_google_googletest", strip_prefix = "googletest-master", urls = ["https://github.com/google/googletest/archive/master.zip"], ) http_archive( name = "rules_cc", strip_prefix = "rules_cc-master", urls = ["https://github.com/bazelbuild/rules_cc/archive/master.zip"], ) http_archive( name = "bazel_skylib", strip_prefix = "bazel-skylib-master", urls = ["https://github.com/bazelbuild/bazel-skylib/archive/master.zip"], ) http_archive( name = "com_google_absl", strip_prefix = "abseil-cpp-master", urls = ["https://github.com/abseil/abseil-cpp/archive/master.zip"], ) http_archive( name = "com_google_absl_py", strip_prefix = "abseil-py-master", urls = ["https://github.com/abseil/abseil-py/archive/master.zip"], ) http_archive( name = "enum34_archive", build_file = "@com_google_absl_py//third_party:enum34.BUILD", sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1", urls = [ "https://mirror.bazel.build/pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz", "https://pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz", ], ) http_archive( name = "funcsigs_archive", build_file = "@//bazel:funcsigs.BUILD", strip_prefix = "funcsigs-1.0.2", urls = [ "https://pypi.python.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz", ], ) http_archive( name = "eigen_archive", build_file = "@//bazel:eigen.BUILD", sha256 = "9a01fed6311df359f3f9af119fcf298a3353aef7d1b1bc86f6c8ae0ca6a2f842", strip_prefix = "/eigen-eigen-5d5dd50b2eb6", urls = [ "https://mirror.bazel.build/bitbucket.org/eigen/eigen/get/5d5dd50b2eb6.zip", "https://bitbucket.org/eigen/eigen/get/5d5dd50b2eb6.zip", ], ) http_archive( name = "glib_archive", build_file = "@//bazel:glib.BUILD", sha256 = "0cbb3d31c9d181bbcc97cba3d9dbe3250f75e2da25e5f7c8bf5a993fe54baf6a", strip_prefix = "glib-2.55.1", urls = [ "https://mirror.bazel.build/ftp.gnome.org/pub/gnome/sources/glib/2.55/glib-2.55.1.tar.xz", "https://ftp.gnome.org/pub/gnome/sources/glib/2.55/glib-2.55.1.tar.xz", ], ) http_archive( name = "jpeg_archive", build_file = "@//bazel:jpeg.BUILD", sha256 = "650250979303a649e21f87b5ccd02672af1ea6954b911342ea491f351ceb7122", strip_prefix = "jpeg-9c", urls = ["http://www.ijg.org/files/jpegsrc.v9c.tar.gz"], ) http_archive( name = "libxml_archive", build_file = "@//bazel:libxml.BUILD", sha256 = "f63c5e7d30362ed28b38bfa1ac6313f9a80230720b7fb6c80575eeab3ff5900c", strip_prefix = "libxml2-2.9.7", urls = [ "https://mirror.bazel.build/xmlsoft.org/sources/libxml2-2.9.7.tar.gz", "http://xmlsoft.org/sources/libxml2-2.9.7.tar.gz", ], ) http_archive( name = "png_archive", build_file = "@//bazel:png.BUILD", sha256 = "7ffa5eb8f9f3ed23cf107042e5fec28699718916668bbce48b968600475208d3", strip_prefix = "libpng-1.6.34", urls = [ "https://mirror.bazel.build/github.com/glennrp/libpng/archive/v1.6.34.zip", "https://github.com/glennrp/libpng/archive/v1.6.34.zip", ], ) http_archive( name = "zlib_archive", build_file = "@//bazel:zlib.BUILD", sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1", strip_prefix = "zlib-1.2.11", urls = [ "https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz", "https://zlib.net/zlib-1.2.11.tar.gz", ], ) http_archive( name = "six_archive", build_file = "@//bazel:six.BUILD", sha256 = "30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259", strip_prefix = "six-1.15.0", urls = [ "https://mirror.bazel.build/pypi.python.org/packages/source/s/six/six-1.15.0.tar.gz", "https://pypi.python.org/packages/source/s/six/six-1.15.0.tar.gz", ], ) http_archive( name = "lua_archive", build_file = "@//bazel:lua.BUILD", sha256 = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333", strip_prefix = "lua-5.1.5/src", urls = [ "https://mirror.bazel.build/www.lua.org/ftp/lua-5.1.5.tar.gz", "https://www.lua.org/ftp/lua-5.1.5.tar.gz", ], ) http_archive( name = "dm_env_archive", build_file = "@//bazel:dm_env.BUILD", strip_prefix = "dm_env-master", urls = ["https://github.com/deepmind/dm_env/archive/master.zip"], ) http_archive( name = "tree_archive", repo_mapping = { "@python_headers": "@python_system", }, strip_prefix = "tree-master", urls = ["https://github.com/deepmind/tree/archive/master.zip"], ) http_archive( name = "pybind11_archive", build_file = "@tree_archive//external:pybind11.BUILD", strip_prefix = "pybind11-master", urls = ["https://github.com/pybind/pybind11/archive/master.zip"], ) new_local_repository( name = "sdl_system", build_file = "@//bazel:sdl.BUILD", path = "/usr", ) # THIS REFERENCES THE CONDA ENV + python.BUILD new_local_repository( name = "python_system", build_file = "python.BUILD", path = "/path/to/anaconda3/envs/dmlab", )