Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mc-sog
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PMC-SOG
mc-sog
Commits
0f7b2e24
Commit
0f7b2e24
authored
3 years ago
by
Jaime Arias
Browse files
Options
Downloads
Patches
Plain Diff
build: fix compilation parameters for spot
parent
f7aee205
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.devcontainer/Dockerfile
+10
-0
10 additions, 0 deletions
.devcontainer/Dockerfile
.devcontainer/devcontainer.json
+35
-0
35 additions, 0 deletions
.devcontainer/devcontainer.json
CMakeLists.txt
+1
-2
1 addition, 2 deletions
CMakeLists.txt
with
46 additions
and
2 deletions
.devcontainer/Dockerfile
0 → 100644
+
10
−
0
View file @
0f7b2e24
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.217.4/containers/cpp/.devcontainer/base.Dockerfile
# [Choice] Debian / Ubuntu version (use Debian 11, Ubuntu 18.04/21.04 on local arm64/Apple Silicon): debian-11, debian-10, ubuntu-21.04, ubuntu-20.04, ubuntu-18.04
ARG
VARIANT="bullseye"
FROM
mcr.microsoft.com/vscode/devcontainers/cpp:0-${VARIANT}
# [Optional] Uncomment this section to install additional packages.
RUN
apt-get update
&&
export
DEBIAN_FRONTEND
=
noninteractive
\
&&
apt-get
-y
install
--no-install-recommends
cmake bison flex
\
openmpi-bin libopenmpi-dev
This diff is collapsed.
Click to expand it.
.devcontainer/devcontainer.json
0 → 100644
+
35
−
0
View file @
0f7b2e24
//
For
format
details,
see
https://aka.ms/devcontainer.json.
For
config
options,
see
the
README
at:
//
https://github.com/microsoft/vscode-dev-containers/tree/v
0.217
.
4
/containers/cpp
{
"name"
:
"C++"
,
"build"
:
{
"dockerfile"
:
"Dockerfile"
,
//
Update
'VARIANT'
to
pick
an
Debian
/
Ubuntu
OS
version:
debian
-11
,
debian
-10
,
debian
-9
,
ubuntu
-21.04
,
ubuntu
-20.04
,
ubuntu
-18.04
//
Use
Debian
11
,
Debian
9
,
Ubuntu
18.04
or
Ubuntu
21.04
on
local
arm
64
/Apple
Silicon
"args"
:
{
"VARIANT"
:
"ubuntu-21.04"
}
},
"runArgs"
:
[
"--cap-add=SYS_PTRACE"
,
"--security-opt"
,
"seccomp=unconfined"
],
//
Set
*default*
container
specific
settings.json
values
on
container
create.
"settings"
:
{},
//
Add
the
IDs
of
extensions
you
want
installed
when
the
container
is
created.
"extensions"
:
[
"ms-vscode.cpptools"
,
"ms-vscode.cmake-tools"
],
//
Use
'forwardPorts'
to
make
a
list
of
ports
inside
the
container
available
locally.
//
"forwardPorts"
:
[],
//
Use
'postCreateCommand'
to
run
commands
after
the
container
is
created.
//
"postCreateCommand"
:
"gcc -v"
,
//
Comment
out
to
connect
as
root
instead.
More
info:
https://aka.ms/vscode-remote/containers/non-root.
"remoteUser"
:
"vscode"
,
"features"
:
{
"git"
:
"latest"
,
"python"
:
"latest"
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
1
−
2
View file @
0f7b2e24
...
...
@@ -39,7 +39,7 @@ if(NOT SPOT_LIBRARY)
URL http://www.lrde.epita.fr/dload/spot/spot-2.9.4.tar.gz
DOWNLOAD_NO_PROGRESS YES
CONFIGURE_COMMAND ./configure --disable-doxygen --disable-python --enable-silent-rules --silent --prefix=<INSTALL_DIR>
BUILD_COMMAND make
-j
BUILD_COMMAND make
BUILD_IN_SOURCE 1
)
...
...
@@ -60,4 +60,3 @@ add_subdirectory(src)
# add tests
# enable_testing()
# add_subdirectory(tests)
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