Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_backend_cpu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Charles Villard
aidge_backend_cpu
Commits
23230cdc
Commit
23230cdc
authored
1 year ago
by
Olivier BICHLER
Browse files
Options
Downloads
Patches
Plain Diff
Added Windows setup script
parent
8e9a3fd6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.ps1
+23
-0
23 additions, 0 deletions
setup.ps1
with
23 additions
and
0 deletions
setup.ps1
0 → 100644
+
23
−
0
View file @
23230cdc
# Helper setup tool to automatically build aidge_backend_cpu on Windows.
# Requirements
################################################################################
# aidge_core must be installed first in $env:AIDGE_INSTALL_PATH.
if
(
-not
$
env
:
AIDGE_INSTALL_PATH
)
{
Write-Error
-Message
"AIDGE_INSTALL_PATH environment variable must be set to aidge_core install path."
-ErrorAction
Stop
}
# Compile & install aidge_core
################################################################################
$
env
:
CMAKE_PREFIX_PATH
=
$
env
:
AIDGE_INSTALL_PATH
md
-Force
build_cpp
md
-Force
$
env
:
AIDGE_INSTALL_PATH
cd
build_cpp
cmake
-DCMAKE_INSTALL_PREFIX
:
PATH
=
$
env
:
AIDGE_INSTALL_PATH
-DCMAKE_BUILD_TYPE
=
Debug
..
cmake
--build
.
-j2
cmake
--install
.
--config
Debug
# Optional: run the unit tests
ctest
--output-on-failure
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment