FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix intel defaults in ci workflows, fix configure_file for non-buildi… · umar456/arrayfire@d596bf7 · GitHub

Repository navigation

Commit d596bf7

Browse files
authored andcommitted
fix intel defaults in ci workflows, fix configure_file for non-building forge
1 parent 60277cf commit d596bf7

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

‎.github/workflows/release_src_artifact.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: |
4747
cd ${GITHUB_WORKSPACE}/arrayfire-full-${AF_VER}
4848
mkdir build && cd build
49-
cmake .. -DAF_BUILD_FORGE:BOOL=ON
49+
cmake .. -DAF_BUILD_FORGE:BOOL=ON -DAF_COMPUTE_LIBRARY="FFTW/LAPACK/BLAS"
5050
5151
- name: Create source tarball
5252
id: create-src-tarball

‎CMakeModules/AFconfigure_forge_dep.cmake‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ if(AF_BUILD_FORGE)
6161
set_property(TARGET forge APPEND_STRING PROPERTY COMPILE_FLAGS " -w")
6262
else(AF_BUILD_FORGE)
6363
find_package(Forge
64-
${FG_VERSION_MAJOR}.${FG_VERSION_MINOR}.${FG_VERSION_PATCH}
65-
QUIET
64+
${FG_VERSION_MAJOR}.${FG_VERSION_MINOR}.${FG_VERSION_PATCH}
65+
QUIET
6666
)
6767

6868
if(TARGET Forge::forge)
@@ -78,9 +78,14 @@ else(AF_BUILD_FORGE)
7878
COMPONENT common_backend_dependencies)
7979
endif()
8080
else()
81+
af_dep_check_and_populate(${forge_prefix}
82+
URI https://github.com/arrayfire/forge.git
83+
REF "v${FG_VERSION}"
84+
)
85+
8186
configure_file(
82-
${${forge_prefix}_SOURCE_DIR}/CMakeModules/version.h.in
83-
${${forge_prefix}_BINARY_DIR}/include/fg/version.h
84-
)
87+
${${forge_prefix}_SOURCE_DIR}/CMakeModules/version.h.in
88+
${${forge_prefix}_BINARY_DIR}/include/fg/version.h
89+
)
8590
endif()
8691
endif(AF_BUILD_FORGE)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL