Skip to content

Commit

Permalink
Downloading prebuilt Boost, HWLOC, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Jul 4, 2017
1 parent f9282e7 commit ad591b5
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions appveyor.yml
Expand Up @@ -20,28 +20,19 @@ init:
- cmd: git config --global core.autocrlf input

install:
- cmd: >-
git clone https://github.com/Microsoft/vcpkg C:\projects\vcpkg
cd C:\projects\vcpkg
powershell -exec bypass scripts\bootstrap.ps1
vcpkg install boost:x64-windows hwloc:x64-windows
cd C:\projects\hpx
- ps: Start-FileDownload 'http://stellar-group.org/files/vcpkg-export-hpx-dependencies.7z' -FileName 'C:\projects\vcpkg-export-hpx-dependencies.7z' -Timeout 60000
- cmd: 7z x "C:\projects\vcpkg-export-hpx-dependencies.7z" -y -oC:\projects\vcpkg >NUL

before_build:
- cmd: cmake -H. -Bbuild -A%PLATFORM% -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DCMAKE_TOOLCHAIN_FILE=C:/projects/vcpkg/scripts/buildsystems/vcpkg.cmake -DHPX_WITH_GIT_COMMIT=%APPVEYOR_REPO_COMMIT% -DHPX_WITH_PSEUDO_DEPENDENCIES=On -DHPX_WITH_EXAMPLES=On -DHPX_WITH_TESTS=Off -DHPX_WITH_RUNTIME=Off

build_script:
- cmd: cmake --build build --config %CONFIGURATION% --target core
- cmd: cmake --build build --config %CONFIGURATION% --target examples/quickstart/hello_world
- cmd: cmake --build build --config %CONFIGURATION% --target examples/quickstart/hello_world

test_script:
- cmd: >-
set PATH=%PATH%;C:\projects\vcpkg\installed\x64-windows\debug\bin
python build\bin\hpxrun.py build\Debug\bin\hello_world.exe -l2 -t2

0 comments on commit ad591b5

Please sign in to comment.