7
0
mirror of https://github.com/Minres/conan-recipes.git synced 2025-09-06 12:51:46 +01:00

Updated versions

This commit is contained in:
2019-06-15 22:31:04 +02:00
parent a7a465e69c
commit 8f776c8557
13 changed files with 91 additions and 67 deletions

View File

@@ -4,16 +4,16 @@ import pprint
class SystemcverificationTestConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
options = {"stdcxx":[98,11,14]}
default_options = "stdcxx=98"
options = {"shared": [True, False], "stdcxx":[98,11,14]}
default_options = "shared=True","stdcxx=98"
generators = "cmake"
requires = "SystemC/2.3.2@minres/stable"
requires = "SystemC/2.3.3@minres/stable"
def configure(self):
self.options["SystemCVerification"].stdcxx = self.options.stdcxx
if self.settings.compiler == 'gcc' and self.settings.compiler.version > 5:
self.output.info("Forcing use of libstdc++11")
self.settings.compiler.libcxx='libstdc++11'
#if self.settings.compiler == 'gcc' and self.settings.compiler.version > 5:
#self.output.info("Forcing use of libstdc++11")
#self.settings.compiler.libcxx='libstdc++11'
def build(self):
cmake = CMake(self)

View File

@@ -22,8 +22,8 @@
#include "scv.h"
int sc_main(int argc, char** argv) {
scv_smart_ptr<int> addr("addr");
scv_random::set_global_seed(100);
// scv_smart_ptr<int> addr("addr");
// scv_random::set_global_seed(100);
cout << "Success!" << endl;
return 0;
}