From 2032e6957c1c6998dab162ee89dc75f13360febf Mon Sep 17 00:00:00 2001 From: SatoshiTerasaki Date: Thu, 13 Jun 2024 03:29:44 +0900 Subject: [PATCH] update --- cxxwrap4/.gitignore | 4 +++ cxxwrap4/Dockerfile | 2 +- cxxwrap4/Manifest.toml | 72 --------------------------------------- cxxwrap4/test/runtests.jl | 4 +++ 4 files changed, 9 insertions(+), 73 deletions(-) create mode 100644 cxxwrap4/.gitignore delete mode 100644 cxxwrap4/Manifest.toml diff --git a/cxxwrap4/.gitignore b/cxxwrap4/.gitignore new file mode 100644 index 0000000..b1b425e --- /dev/null +++ b/cxxwrap4/.gitignore @@ -0,0 +1,4 @@ +libhello* +./deps/build +./deps/build.log +Manifest.toml diff --git a/cxxwrap4/Dockerfile b/cxxwrap4/Dockerfile index 5c6590f..13dc3fb 100644 --- a/cxxwrap4/Dockerfile +++ b/cxxwrap4/Dockerfile @@ -1,6 +1,6 @@ FROM julia:1.10.4 -RUN apt-get update && apt-get install -y --no-install-recommends build-essential cmake \ +RUN apt-get update && apt-get install -y --no-install-recommends build-essential cmake libeigen3-dev \ && apt-get clean && rm -rf /var/lib/apt/lists/* RUN julia -e 'using Pkg; Pkg.add("CxxWrap"); Pkg.precompile()' diff --git a/cxxwrap4/Manifest.toml b/cxxwrap4/Manifest.toml deleted file mode 100644 index eb3bdc7..0000000 --- a/cxxwrap4/Manifest.toml +++ /dev/null @@ -1,72 +0,0 @@ -# This file is machine-generated - editing it directly is not advised - -julia_version = "1.10.3" -manifest_format = "2.0" -project_hash = "ccf1a3757eeb779bee7bfa161a032801f22b27b7" - -[[deps.Artifacts]] -uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" - -[[deps.Base64]] -uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" - -[[deps.CxxWrap]] -deps = ["Libdl", "MacroTools", "libcxxwrap_julia_jll"] -git-tree-sha1 = "ba1a559afd562447710513525030d6ad83e5868a" -uuid = "1f15a43c-97ca-5a2a-ae31-89f07a497df4" -version = "0.15.1" - -[[deps.Dates]] -deps = ["Printf"] -uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" - -[[deps.JLLWrappers]] -deps = ["Artifacts", "Preferences"] -git-tree-sha1 = "7e5d6779a1e09a36db2a7b6cff50942a0a7d0fca" -uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210" -version = "1.5.0" - -[[deps.Libdl]] -uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" - -[[deps.MacroTools]] -deps = ["Markdown", "Random"] -git-tree-sha1 = "2fa9ee3e63fd3a4f7a9a4f4744a52f4856de82df" -uuid = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" -version = "0.5.13" - -[[deps.Markdown]] -deps = ["Base64"] -uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" - -[[deps.Preferences]] -deps = ["TOML"] -git-tree-sha1 = "9306f6085165d270f7e3db02af26a400d580f5c6" -uuid = "21216c6a-2e73-6563-6e65-726566657250" -version = "1.4.3" - -[[deps.Printf]] -deps = ["Unicode"] -uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" - -[[deps.Random]] -deps = ["SHA"] -uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" - -[[deps.SHA]] -uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" -version = "0.7.0" - -[[deps.TOML]] -deps = ["Dates"] -uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76" -version = "1.0.3" - -[[deps.Unicode]] -uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" - -[[deps.libcxxwrap_julia_jll]] -deps = ["Artifacts", "JLLWrappers", "Libdl"] -git-tree-sha1 = "0f10092db771939e29fd13a67967f5c63212fdfe" -uuid = "3eaa8342-bff7-56a5-9981-c04077f7cee7" -version = "0.12.3+0" diff --git a/cxxwrap4/test/runtests.jl b/cxxwrap4/test/runtests.jl index 24ada97..f17036b 100644 --- a/cxxwrap4/test/runtests.jl +++ b/cxxwrap4/test/runtests.jl @@ -5,4 +5,8 @@ using MyCxxWrap4 x = rand(10) v= MyCxxWrap4.twice(x) @test 2x == v + + x = rand(10) + v= MyCxxWrap4.twice(x) + @test 2x == v end