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.Dismiss alert
Copy file name to clipboardExpand all lines: bazel.html
+38-22Lines changed: 38 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -384,14 +384,9 @@ <h3 id="install-on-macos">Install on macOS</h3>
384
384
<li>Download and install <codeclass="language-plaintext highlighter-rouge">gurobi13.0.1_macos2_universal.pkg</code>.</li>
385
385
</ol>
386
386
387
-
<p>To confirm that your setup was successful, run the tests that require Gurobi:</p>
387
+
<p>To confirm that your setup was successful, run a test that requires Gurobi:</p>
388
388
389
-
<p><codeclass="language-plaintext highlighter-rouge">bazel test --config gurobi --test_tag_filters=gurobi //...</code></p>
390
-
391
-
<p>The default value of <codeclass="language-plaintext highlighter-rouge">--test_tag_filters</code> in Drake’s <codeclass="language-plaintext highlighter-rouge">bazel.rc</code> excludes
392
-
these tests. If you will be developing with Gurobi regularly, you may wish
393
-
to specify a more convenient <codeclass="language-plaintext highlighter-rouge">--test_tag_filters</code> in a local <codeclass="language-plaintext highlighter-rouge">.bazelrc</code>.
394
-
See <ahref="https://docs.bazel.build/versions/main/user-manual.html#bazelrc">https://docs.bazel.build/versions/main/user-manual.html#bazelrc</a>.</p>
389
+
<p><codeclass="language-plaintext highlighter-rouge">bazel test --@drake//tools/flags:with_gurobi=True //solver:gurobi_solver_test</code></p>
<p>To confirm that your setup was successful, run the tests that require MOSEK<ahref="/tm.html">™</a>:</p>
404
-
405
-
<p><codeclass="language-plaintext highlighter-rouge">bazel test --config mosek --test_tag_filters=mosek //...</code></p>
398
+
<p>To confirm that your setup was successful, run a test that requires MOSEK<ahref="/tm.html">™</a>:</p>
406
399
407
-
<p>The default value of <codeclass="language-plaintext highlighter-rouge">--test_tag_filters</code> in Drake’s <codeclass="language-plaintext highlighter-rouge">bazel.rc</code> excludes
408
-
these tests. If you will be developing with MOSEK<ahref="/tm.html">™</a> regularly, you may wish
409
-
to specify a more convenient <codeclass="language-plaintext highlighter-rouge">--test_tag_filters</code> in a local <codeclass="language-plaintext highlighter-rouge">.bazelrc</code>.
410
-
See <ahref="https://docs.bazel.build/versions/main/user-manual.html#bazelrc">https://docs.bazel.build/versions/main/user-manual.html#bazelrc</a>.</p>
400
+
<p><codeclass="language-plaintext highlighter-rouge">bazel test --@drake//tools/flags:with_mosek=True //solvers:mosek_solver_test</code></p>
411
401
412
402
<h2id="snopt">SNOPT</h2>
413
403
@@ -433,14 +423,9 @@ <h3 id="using-your-own-source-archive">Using your own source archive</h3>
433
423
434
424
<p>Test the build (for either mechanism)</p>
435
425
436
-
<p>To confirm that your setup was successful, run the tests that require SNOPT:</p>
437
-
438
-
<p><codeclass="language-plaintext highlighter-rouge">bazel test --config snopt --test_tag_filters=snopt //...</code></p>
426
+
<p>To confirm that your setup was successful, run a test that requires SNOPT:</p>
439
427
440
-
<p>The default value of <codeclass="language-plaintext highlighter-rouge">--test_tag_filters</code> in Drake’s <codeclass="language-plaintext highlighter-rouge">bazel.rc</code> excludes
441
-
these tests. If you will be developing with SNOPT regularly, you may wish
442
-
to specify a more convenient <codeclass="language-plaintext highlighter-rouge">--test_tag_filters</code> in a local <codeclass="language-plaintext highlighter-rouge">.bazelrc</code>.
443
-
See <ahref="https://docs.bazel.build/versions/main/user-manual.html#bazelrc">https://docs.bazel.build/versions/main/user-manual.html#bazelrc</a>.</p>
428
+
<p><codeclass="language-plaintext highlighter-rouge">bazel test --@drake//tools/flags:with_snopt=True //solvers:snopt_solver_test</code></p>
444
429
445
430
<p>SNOPT support has some known problems on certain programs (see drake issue
446
431
<ahref="https://github.com/RobotLocomotion/drake/issues/10422">#10422</a> for a summary).</p>
0 commit comments