並び順

ブックマーク数

期間指定

  • から
  • まで

41 - 64 件 / 64件

新着順 人気順

Bazelの検索結果41 - 64 件 / 64件

  • Bazel 入門 (1) - 事始め|npaka

    1. Bazel「Bazel」は、「Make」「Maven」「Gradle」に似たオープンソースのビルドツールです。人間が読める高レベルのビルド言語を使用します。 特徴は次の通りです。 ・Java, C++, Android, iOS, Goなどさまざまな言語に対応 ・Windows、macOS、Linuxのマルチプラットフォーム対応 ・ローカルキャッシュや分散キャッシュ、依存性の最適化分析や並列実行などによる高速なビルド ・大きな組織が運用する大規模な単一リポジトリや分散リポジトリにも対応するスケーラビリティ ・柔軟な拡張性 2. Bazelの使い方「Bazel」を使用してソースコードをビルドする手順は次の通りです。 (1)「Bazel」をダウンロードしてインストール。 (2)「WORKSPACE」ファイルを作成。 この設定ファイルは、「ワークスペース」のルートに配置し、外部の「ワークス

      Bazel 入門 (1) - 事始め|npaka
    • Fast Parallel Testing at Databricks with Bazel

      Unified governance for all data, analytics and AI assets

        Fast Parallel Testing at Databricks with Bazel
      • Micro Modular Architecture with Bazel

        iOSDC Japan 2020 09/21 11:30 Track E 「Bazelを利用したMicro Modular Architecture」

          Micro Modular Architecture with Bazel
        • GitHub - bazelbuild/rules_docker: Rules for building and handling Docker images with Bazel

          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

            GitHub - bazelbuild/rules_docker: Rules for building and handling Docker images with Bazel
          • BazelCon 2019

            Last month the Google Bazel team hosted its largest ever Bazel user conference: BazelCon 2019, an annual gathering of the community surrounding the Bazel build system. This is the main Bazel event of the year which serves as an opportunity for Bazel contributors, maintainers, and users to meet and learn from each other, present Bazel migration stories, educate new users, and collaborate together o

              BazelCon 2019
            • GitHub - GoogleCloudPlatform/gke-bazel-demo: Building applications with bazel and deploying them on to GKE. This demo contains a java-spring-boot rest service and an angular front-end. Both containers are deployed on GKE.

              Building & Deploying with Bazel on Kubernetes Engine Table of Contents Building & Deploying with Bazel on Kubernetes Engine Table of Contents Introduction Architecture Prerequisites Cloud Project Run Demo in a Google Cloud Shell Supported Operating Systems Tools Configure Authentication Deployment Create the cluster Build & deploy with Bazel K8s Rules Validation Teardown Local Dev Maven to Bazel J

                GitHub - GoogleCloudPlatform/gke-bazel-demo: Building applications with bazel and deploying them on to GKE. This demo contains a java-spring-boot rest service and an angular front-end. Both containers are deployed on GKE.
              • Writing Bazel rules: data and runfiles

                Published on 2020-02-01 Edited on 2023-10-12 Tagged: bazel go View All Posts This article is part of the series "Writing Bazel rules". Writing Bazel rules: simple binary rule Writing Bazel rules: library rule, depsets, providers Writing Bazel rules: data and runfiles Writing Bazel rules: moving logic to execution Writing Bazel rules: repository rules Writing Bazel rules: platforms and toolchains B

                  Writing Bazel rules: data and runfiles
                • これからメルカリのエンジニアリングはもっと面白くなる──iOS&Androidのテックリードが振り返る、すべてがGo Boldだった「GroundUp App」 | mercan (メルカン)

                  2020年4月にソフトウェアエンジニアとしてメルカリに入社。Architectチームに所属し、iOSリードアーキテクトとしてGroundUp Appに従事。現在はプラットフォームの設計全般を担当。 2019年にメルカリに入社。現在はクライアントアーキテクトチームのAndroidリードアーキテクトを担当。来日前は母国フィリピンで勤務し、その後シンガポールで勤務。メルカリでは、Androidに特化したユーザーと開発者の体験を向上させるために、メンバーからのフィードバックを収集し、対応することに注力。「Mercari Hack Week」では、Mercari 2025のような拡張現実のプロジェクトに取り組み、毎回賞を獲得。仕事以外の時間は、メルカリの友人たちとクルージングやカラオケ、チームビルディングを楽しんでいる。Call of Dutyでは10シーズンLegendaryランク、Apex Le

                    これからメルカリのエンジニアリングはもっと面白くなる──iOS&Androidのテックリードが振り返る、すべてがGo Boldだった「GroundUp App」 | mercan (メルカン)
                  • BazelCon 2020

                    Sign in or create account To register for events Continue with Google Continue with email

                      BazelCon 2020
                    • Scaling Rust builds with Bazel

                      Scaling Rust builds with Bazel ✏ 2023-03-20 ✂ 2023-03-20 Introduction Cargo’s limitations Cargo is not a build system Poor caching and dependency tracking The CI saga The nix days The iceberg Enter Bazel The migration process Build a prototype Dig a tunnel from the middle Run CI early One package at a time Ensure test parity Rough edges Acknowledgments IntroductionAs of March 2023, the Internet Co

                      • Ultra-fast build of Tensorflow with Bazel Remote Caching [Google Cloud Storage version] - Qiita

                        Ultra-fast build of Tensorflow with Bazel Remote Caching [Google Cloud Storage version] Tensorflow-bin Bazel_bin 1.Introduction 今回は Google Cloud Storage をキャッシング環境に使用した最もお手軽なビルド手順を試行しました。 1時間掛かる Tensorflow のビルドを 2分20秒ほどに短縮できます。 ビルド済みのバイナリとソースファイルをハッシュ化してストレージ上にキャッシュし、2回目以降のビルド時にはキャッシュ済みのハッシュ値と現ファイルから計算したハッシュ値を比較して同じであればビルドを簡略化し、ハッシュ値に差分のあるファイルのみコンパイルします。 よって、初回ビルド時はキャッシュが全く無くキャッシングの処理に余分な時間を割くため、通常

                          Ultra-fast build of Tensorflow with Bazel Remote Caching [Google Cloud Storage version] - Qiita
                        • またね、Bazel 。ただいま、シェルスクリプト。 - Qiita

                          この記事は株式会社ビットキー Advent Calendar 2022 17日目の記事です。 BKP&HubCoreModule でソフトウェアエンジニアをやっている @nrnrk が担当します。 まえがき Bazel はクールな理念を持ったナイスなツールです。大好きです。 ただ、私のチームにおいては、ミスマッチな点があったため、泣く泣くお別れしました。その話について書きます。 想定読者 Bazel を入れてみたけどしっくり来ていない人 Bazel の導入を検討中の人 Bazel とは Bazel とは、多言語のマルチプラットフォームのプロジェクトをビルド・テストできるツールです。ビルドの 再現性を高い精度で保ち つつ、 ビルド時間もキャッシュを用いて短く できるというのが強みです。 つまり、Java、C++、Go、Android、iOS などを Windows、macOS、Linux 上

                            またね、Bazel 。ただいま、シェルスクリプト。 - Qiita
                          • GitHub - bazelbuild/bazel-gazelle: Gazelle is a Bazel build file generator for Bazel projects. It natively supports Go and protobuf, and it may be extended to support new languages and custom rule sets.

                            Gazelle can generate Bazel BUILD files for many languages: Go Go supported is included here in bazel-gazelle, see below. Haskell Tweag's rules_haskell has two extensions: gazelle_cabal, for generating rules from Cabal files and gazelle_haskell_modules for even more fine-grained build definitions. Java bazel-contrib's rules_jvm extensions include a gazelle extension for generating java_library, jav

                              GitHub - bazelbuild/bazel-gazelle: Gazelle is a Bazel build file generator for Bazel projects. It natively supports Go and protobuf, and it may be extended to support new languages and custom rule sets.
                            • GoとKotlinのマルチプロジェクトをBazelでビルドする - 平日インプット週末アウトプットぶろぐ

                              GoとKotlinのマルチプロジェクトをBazelでビルドする November 14, 2018 Bazel Go Kotlin Multiprojects Googleが開発するビルドツールのBazelを試していく。 Bazel - a fast, scalable, multi-language and extensible build system” - Bazel モチベーション GoやKotlinでつくるマイクロサービス開発は1つのサービスに1つのレポジトリで行ってきた経緯がある。またCIではDockerfileをレポジトリに内包することでビルド時にDockerイメージの錬成を行いRegistryへのPushを行う。GoやKotlinのビルド環境が異なることやイメージのビルドがDockerfileドリブンであるためサービス対レポジトリが1:1の関係であった。 Bazelは複数言

                              • Create Go Monorepo with Go-modules and Bazel

                                Hi, everyone! In this article, I wanna show how we can create monorepo with Golang and Bazel. BazelRequirements: Go Modules — we wanna use go mod for managing dependenciesShared codebase — we wanna reuse our code in different applicationTest — we wanna run tests on single/all applicationsBuild — we wanna build every application separatelyThese requirements go beyond the definition of monorepo. Oka

                                  Create Go Monorepo with Go-modules and Bazel
                                • Awesome Bazel

                                  A curated list of Bazel rules, tooling and resources. View the Project on GitHub jin/awesome-bazel Awesome Bazel {Fast, Correct} - Choose two Bazel is an open-source build and test tool similar to Make, Maven, and Gradle. It uses a human-readable, high-level build language. Bazel supports projects in multiple languages and builds outputs for multiple platforms. Bazel supports large codebases acros

                                  • Bazelを使ってみる その4(gRPCのビルド) - Carpe Diem

                                    概要 Bazel解説第4弾です。 Bazelを使ってみる その1(Goのビルド) - Carpe Diem Bazelを使ってみる その2(protobufのビルド) - Carpe Diem Bazelを使ってみる その3(docker imageのビルド) - Carpe Diem 今回はgRPCをビルドしてみます。 gRPCは2通りの設定方法があります。 gazelleのやり方 grpcのruleをメンテしてるコミュニティのやり方 今回は簡単なgazelleのやり方で説明します。 環境 Bazel v4.2.2 準備 gRPCコード準備 まずgRPCのリポジトリを用意します。 ディレクトリ構造 以下のディレクトリ構造で、 ├── client │   └── main.go ├── go.mod ├── go.sum ├── proto │   └── helloworld.prot

                                      Bazelを使ってみる その4(gRPCのビルド) - Carpe Diem
                                    • Bazel で生成したファイルを Haskell から参照する

                                      前に Elm のコードを Bazel でビルドするためのルールを作りました. この生成物を Bazel でビルドしてる Haskell アプリケーションから参照する方法のメモ書きです. Bazel生成物を参照する方法 思い付いた方法は2つ: Bazel で Docker イメージを作るときに含めて動的に参照する Bazel で Haskell をビルドするときに埋め込む(Template Haskell) 前者は Docker で固めるだけなので,Haskell 側で特別なことをする必要がなく簡単. 後者は rules_haskell と Haskell 側で試行錯誤する必要があるが,Haskell アプリケーション単体で完結するので便利だ. Docker イメージに含める Bazel を利用して Docker イメージを作る場合は次のように書く: pkg_tar( name = "bin

                                      • Bazelとモノレポ

                                        本エントリは オリジナル の一部を再編集して掲載しています。(2020/03/31) モノレポのメリット gitでこのようなリポジトリ運用をされている方はそんなに多くはないのではないでしょうか? むしろこのような運用は嫌われる傾向にあるかもしれません。 それでもモノレポを使うのには理由があります。 リファクタリングが楽 コードレビューが楽 コンフリクト地獄に陥らない 一つのリポジトリですべて手に入る そして リポジトリに関わる人にすべてを触ってほしい という思いもあります。 一方、モノレポを実現するためにはいくつか工夫をする必要があります。 今までモノレポで運用をしていなかった場合ビルドツール等はモノレポに耐えられないものが多いと思います。 モノレポの運用をする場合はその点を考え直す必要があります。 モノレポを運用していくにあたって大事なのはビルドツールだと考えています。 複数のソフトウェ

                                        • Bazelの使い方詰め合わせ

                                          本エントリは オリジナル の一部を再編集して掲載しています。 (2020/03/31) 前の記事 ではBazelについて簡単に紹介しました。 ここでは更に1歩、Bazelの使い方に踏み込んでみたいと思います。 自分のリポジトリに含まれている色々なツール等をビルドしてshipするにあたって分かりづらかったりした点を中心に説明したいと思います。 すべてを網羅できているわけではありませんし、あくまで自分のリポジトリの頻出パターンなので皆さんのリポジトリでは違った点で悩むかもしれません。 Bazelを使い始めようという時に思い出して見ていただけるとよいかもしれません。 今回もサンプルコードは前回と同じリポジトリに置いてあります。 https://github.com/f110/bazel-example コンテナを作る サンプルリポジトリの helloworld1 はコンテナの作成もできるようにな

                                          • 依存ライブラリは常にvendoringする

                                            BazelでGoの依存ライブラリを管理する方法は2つあります。 go.mod からWORKSPACEファイルを生成する vendorディレクトリを使う 以前はリポジトリに go.mod ファイルが1つしかない(単一モジュール構成のリポジトリ)の場合は前者を、 複数の go.mod ファイルがある場合は後者の方法を取るのがいいと思っていました。 しかし最近は常に後者を選択する方がいいと思っています。 見えない依存 Bazel で Go をビルドする際は rules_go と gazelle を利用していることでしょう。 rules_go 自身が 依存しているライブラリ もBazelによって管理されるため同じライブラリに自分のソフトウェアが依存している場合は競合します。 うまく競合しなかった場合は問題ありません。その時は幸せに利用できます。 ですが、競合して2つのバージョンを保持しないといけな

                                            • カスタムオペレーションを追加したTensorFlow Liteのビルド|npaka

                                              以下の記事が面白かったので、ざっくり訳してみました。 ・Compiling a TensorFlow Lite Build with Custom Operations 1. はじめに「TensorFlow Lite」は素晴らしいです。 一方、カスタムオペレーションを含むモデルを実行しようとすると、次のような例外が発生します。TensorFlow Lite」に存在しないオペレーション「Normalize」「ExtractFeatures」「Predict」を使用したためです。 W/System.err: Caused by: com.google.firebase.ml.common.FirebaseMLException: Internal error has occurred when executing Firebase ML tasks Caused by: java.lang.I

                                                カスタムオペレーションを追加したTensorFlow Liteのビルド|npaka
                                              • BazelCon 2019

                                                The 2019 Bazel User Convention (Dec 11-12 in Sunnyvale, CA) hosted over 400 attendees, representing over 125 organizations. This playlist contains all of the...

                                                  BazelCon 2019
                                                • hpack の設定から Bazel の設定を自動生成するツール Hazell を作った