Skip to content

Commit

Permalink
fix line ending
Browse files Browse the repository at this point in the history
  • Loading branch information
ksimpson-work committed Nov 25, 2024
1 parent 404e9d4 commit 3a6f68e
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions continuous_integration/scripts/generate-environment
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
#!/usr/bin/env bash

# Function to generate environment.yml
generate_environment_yml() {
local python_version=$1
local cuda_version=$2
local output_path=$3

cat <<EOF > "${output_path}/environment.yml"
name: cuda_python
channels:
- defaults
- conda-forge
dependencies:
- python=${python_version}
- cython
- pytest
- numpy
- setuptools
- wheel
- pip
- cuda-version=${cuda_version}
- cuda-cudart-static
- cuda-driver-dev
- cuda-cudart-dev
- cuda-profiler-api
- cuda-nvrtc-dev
- cuda-nvcc
- pip:
- pytest-benchmark
- pyclibrary
- versioneer==0.29
- tomli; python_version < "3.11"
- pywin32; sys_platform == 'win32'
EOF
#!/usr/bin/env bash

# Function to generate environment.yml
generate_environment_yml() {
local python_version=$1
local cuda_version=$2
local output_path=$3

cat <<EOF > "${output_path}/environment.yml"
name: cuda_python
channels:
- defaults
- conda-forge
dependencies:
- python=${python_version}
- cython
- pytest
- numpy
- setuptools
- wheel
- pip
- cuda-version=${cuda_version}
- cuda-cudart-static
- cuda-driver-dev
- cuda-cudart-dev
- cuda-profiler-api
- cuda-nvrtc-dev
- cuda-nvcc
- pip:
- pytest-benchmark
- pyclibrary
- versioneer==0.29
- tomli; python_version < "3.11"
- pywin32; sys_platform == 'win32'
EOF
}

0 comments on commit 3a6f68e

Please sign in to comment.