Skip to content

Commit

Permalink
Save file to be sourced
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyBourne committed Sep 12, 2023
1 parent a0440cb commit f91a37d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/linux_install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ runs:
sudo apt-get install -y intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic intel-oneapi-openmp intel-oneapi-mkl
LATEST_VERSION=$(ls -1 /opt/intel/oneapi/compiler/ | grep -v latest | sort | tail -1)
# shellcheck source=/dev/null
printenv > $GITHUB_ENV
echo $PATH > $GITHUB_PATH
echo "INTEL_SOURCE_FILE=/opt/intel/oneapi/compiler/$LATEST_VERSION/env/vars.sh"
echo "INTEL_SOURCE_FILE=/opt/intel/oneapi/compiler/$LATEST_VERSION/env/vars.sh" >> $GITHUB_ENV
shell: bash
1 change: 1 addition & 0 deletions .github/workflows/daily_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
uses: ./.github/actions/generate_pyccel_config
- name: Benchmark
run: |
source $INTEL_SOURCE_FILE
cd benchmarks
python run_benchmarks.py --pyperf --verbose --pyccel-config-files pyccel_fortran_gnu.json pyccel_c_gnu.json pyccel_fortran_intel.json pyccel_c_intel.json --pythran-config-files pythran_gnu.config pythran_intel.config
cd ..
Expand Down

0 comments on commit f91a37d

Please sign in to comment.