Skip to content

Commit

Permalink
Added command to test nvcc in build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
luisenp committed Nov 8, 2022
1 parent f14d39b commit 2d5b5d9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ jobs:
- checkout
- <<: *update_and_install_python
- <<: *install_suitesparse
- <<: *setup_cuda10_libs
- <<: *setup_cuda11_libs
- <<: *setup_environment
- <<: *build_cuda10_wheel
- <<: *run_tests_from_wheel
Expand Down
2 changes: 2 additions & 0 deletions build_scripts/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ for PYTHON_VERSION in 3.9; do
# --- Install baspacho
RUN git clone https://github.com/facebookresearch/baspacho.git
WORKDIR baspacho
RUN nvcc cmake/detect_cuda.cu -o cuda_test
RUN ./cuda_test
# Note: to use static BLAS the option is really BLA_STATIC (https://cmake.org/cmake/help/latest/module/FindBLAS.html)
RUN /opt/cmake3.24/bin/cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBLA_STATIC=ON \
Expand Down
4 changes: 4 additions & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

0 comments on commit 2d5b5d9

Please sign in to comment.